Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Give StringAppendF a C++ style name string::AppendF
#include <iostream>
namespace strings {
void Print() {
std::cout << "strings::Print" << std::endl;
}
} // namespace strings
namespace uses {
namespace detail {
void Log() {
strings::Print(); // My point is here!
}
} // namespace detail
} // namespace uses
int main() {
uses::detail::Log();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.