Created
March 3, 2018 17:03
-
-
Save deque-blog/e75c455d02833f5499ed07d5d9acaba3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
void f (Context const& context, ...); | |
void caller_from_rest(Context const& context) | |
{ | |
WithContext restContext("REST", "/api/v1.0/f"); | |
f(context, ...); | |
// ... "REST" automatically removed at the end | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment