Created
October 19, 2020 05:50
-
-
Save Cylix/dc2692ef5433a80c1c54448793c886f5 to your computer and use it in GitHub Desktop.
Reflection in C++14 - Member Function #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! iterate over the parameters pack | |
template <typename Head, typename... Tail> | |
void register_function(const Head& head, Tail... tail) { | |
register_function(head); | |
register_function(tail...); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment