Skip to content

Instantly share code, notes, and snippets.

View sauparna's full-sized avatar

Sauparna Palchowdhury sauparna

View GitHub Profile
@SansPapyrus683
SansPapyrus683 / debugging.h
Last active October 21, 2024 07:07
A useful debugging template for C++.
#include <iostream>
#include <vector>
#include <deque>
#include <map>
#include <unordered_map>
#include <set>
#include <unordered_set>
template <typename T>
std::ostream& operator<<(std::ostream& out, const std::vector<T>& vec) {