Last active
May 25, 2017 12:32
-
-
Save deque-blog/2e423f9434336d37135d71f4f75061d0 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
//Alternative WITHOUT the argument names | |
std::string repeat_n_with_logs(int n, std::string const& s) | |
{ | |
log_trace(get_logger(), log_prefix("repeat_n"), n, s); | |
return repeat_n_(n, s); | |
} | |
//Alternative WITH the argument names | |
std::string repeat_n_with_logs(int n, std::string const& s) | |
{ | |
log_named_trace(get_logger(), log_prefix("repeat_n"), | |
hana::make_tuple("n", "s"), n, s); | |
return repeat_n_(n, s); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment