Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active June 3, 2017 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deque-blog/7060aeda0c711f7a0373691bed71614e to your computer and use it in GitHub Desktop.
Save deque-blog/7060aeda0c711f7a0373691bed71614e to your computer and use it in GitHub Desktop.
// Could be made private inside a compilation unit
std::string repeat_n(int n, std::string const& s);
std::string repeat_n_with_logs(int n, std::string const& s)
{
return LOGGED_CALL_2(repeat_n, n, s);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment