代码搜索:using 有哪些应用?

找到约 10,000 项符合「using 有哪些应用?」的源代码

代码结果 10,000
www.eeworm.com/read/470720/1446502

c using4.c

//Build don't link #include namespace csp { using namespace std::vector; // ERROR - vector is not a namespace }
www.eeworm.com/read/470720/1446505

c using13.c

namespace A{ void foo(int){} } namespace B{ void foo(bool){} } void bar() { using B::foo; using A::foo; foo(true); } namespace Foo { template void Hello(N) {} } int main() { u
www.eeworm.com/read/470720/1446515

c using8.c

// Build don't link: namespace M { int i; } namespace N { using namespace M; } using namespace N; int j = i; namespace O{ int k; } namespace N { using namespace O; } int l = k;
www.eeworm.com/read/470720/1446519

c using7.c

namespace X{ void f(int){} } void f(); int main() { using X::f; f(3); }
www.eeworm.com/read/470720/1446522

c using6.c

//Build don't link: #include namespace csp { using namespace std; struct X { vector v; }; }
www.eeworm.com/read/470720/1446536

c using2.c

// Build don't link: void f(); namespace A{ using ::f; }
www.eeworm.com/read/470720/1446543

c using10.c

//Build don't link: //Based on a report by Helmut Jarausch template class foo{}; namespace ABC { using ::foo; }
www.eeworm.com/read/470720/1446545

c using11.c

// Build don't link: class joey { public: typedef int SVec; }; using joey::SVec; // ERROR - joey is not a namespace
www.eeworm.com/read/470720/1446549

c using14.c

// Build don't link: // Origin: Mark Mitchell extern "C" void f (); namespace N { extern "C" void f (); } using N::f; void g () { f (); }
www.eeworm.com/read/470720/1446551

c using12.c

// Build don't link: // Origin: Brendan Kehoe namespace foo { void x (bool); // ERROR - candidates void x (char); // ERROR - candidates void x (int); // ERROR