on-internet
← Community

How to check the count of function template instantiations

Stack Overflow ·

How to check the count of function template instantiations? template <typename T> void foo(T f) {} struct Bar { void operator()(bool x) {} }; void f1(bool x) {} void f2(bool x) {} int main() { foo(f1); foo(Bar()); foo(f2); foo([](bool x){}); foo([](bool x){}); }

Comments

Sign in or sign up to comment and upvote.

No comments yet.