Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
the usual name hiding rules do apply with using directives
//clang 3.8.0 #include <iostream> namespace A { void f(int) { std::cout << "A::f(int)\n"; } } namespace B { using namespace A; void f() { std::cout << "B::f()\n"; } void g() { f(0); } // error; works if void f() { ... } is commented out above } int main() { B::f(0); // error; also works if void f() { ... } in B is commented out }
run
|
edit
|
history
|
help
0
Deleted special operations are propagated to derived class
MPL 2-0
Example Node Program
function returning a function demo
Saam hash example
mpi_distributed_sort
Dynamically allocated array in unique_ptr with custom deleter.
applidiumResto_corrigé
"nearest enclosing namespace"
Pascals Triangle