Last active
June 3, 2017 14:56
-
-
Save deque-blog/10a91d30f0eeaeb206e037bdef928b9a to your computer and use it in GitHub Desktop.
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
std::string repeat_n(int n, std::string const& s) | |
{ | |
log_named_trace( // Print the log message | |
get_logger(), // inside the logger (like std::cout), with: | |
log_prefix("repeat_n"), // - the function name as prefix | |
hana::make_tuple("n", "s"), // - the arguments' names | |
n, s); // - the arguments' values | |
return ...; // Implementation | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment