How to check the count of function template instantiations
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){}); }
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.