KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is it possible to decide in run-time which template function to call? Something like: template<int I> struct A { static void foo() {/*...*/} }; void bar(int i) { A<i>::f(); // <-- ??? }
Tags (comma-separated)
Save Edits
Cancel