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
template specialization inheritance problem
Uno v2
Task on Задача C. Белочка
C++ standard
Magic, why 1 2?
test
illegal instruction (SIGILL)
Fun with Pointers #2
ternary test
nontype template parameter produced with decltype for function