Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
"nearest enclosing namespace"
//clang 3.8.0 #include <iostream> namespace A { void f() { std::cout << "A::f()\n"; } namespace B { void f() { std::cout << "A::B::f()\n"; } } namespace C { using namespace B; //using B::f; void g() { f(); } } } int main() { A::C::g(); }
run
|
edit
|
history
|
help
0
List comprehension in C++ using functional patterns
Simple Generic Data Type Example
PrintAddress
unordered graphs search
DESim Example
specialized template
Result of not joining thread in main()
regex
Derivation of the 0x9E3779B97F4A7C17u constant
numeric_limits