#include using namespace std; template void foo(T i) { std::cout << "hi\n"; // set breakpoint here } int main() { foo(0); foo(0); foo(1); foo(1); foo(2); foo(2); }