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 March 17, 2024 02:21
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) {