This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
DamesEtCo/includes/utils.hpp
2023-12-31 03:29:40 +01:00

13 lines
246 B
C++

#pragma once
#include <iostream>
#include <vector>
template <typename T>
void print_vec(std::vector<T> vec) {
std::cout << "[ (" << vec.size() << ")\n";
for (auto it : vec) {
std::cout << " " << it << "\n";
}
std::cout << "]\n";
}