reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 | // Compile with "cl /c /Zi /GR- UsingNamespaceTest.cpp" // Link with "link UsingNamespaceTest.obj /debug /nodefaultlib /entry:main" namespace NS { int foo() { return 1; } } using namespace NS; int main(int argc, char **argv) { return foo(); } |