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

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

代码结果 10,000
www.eeworm.com/read/162614/5519772

c using6.c

// { dg-do run } // Test of class-scope using-declaration for functions. #define assert(COND) if (!(COND)) return 1 struct A { int f(int) { return 1; } int f(char) { return 2; } }; struct B {
www.eeworm.com/read/162614/5519841

c using2.c

// { dg-do assemble } struct X{ void f(); }; struct Y:X{ void f(int); void f(); using X::f; };
www.eeworm.com/read/162614/5520038

c using1.c

// { dg-do assemble } class D2; class B { private: int a; // { dg-error "" } B::a is private protected: int b; friend class D2; }; class D : public B { // { dg-error "" } within this context
www.eeworm.com/read/162614/5520054

c using3.c

// { dg-do assemble } struct A{ A(); }; typedef struct { A i; } S; struct B: S{ using S::S; // { dg-error "" } no such field };
www.eeworm.com/read/162614/5520102

c using5.c

// { dg-do assemble } // Based on bug report by Klaus-Georg Adams // struct bar { typedef bar t; }; struct foo : bar { using bar::t; t field; t
www.eeworm.com/read/162614/5520507

c using2.c

// { dg-do assemble } // // Copyright (C) 2001 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 22 May 2001 // Bug 2184. Using decls in templates weren't do
www.eeworm.com/read/162614/5520783

c using1.c

// { dg-do run } // Copyright (C) 2001, 2002 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 26 Feb 2001 // Bug 1981. using declarations in namespace scope
www.eeworm.com/read/162614/5520949

c using9.c

// { dg-do assemble } // Test for proper merging of functions from multiple using directives. namespace standard { void print(int) {} void dump(int) {} } namespace A { using standard::print; }
www.eeworm.com/read/162614/5520953

c using4.c

// { dg-do assemble } //Build don't link #include namespace csp { using namespace std::vector; // { dg-error "" } vector is not a namespace }
www.eeworm.com/read/162614/5520956

c using13.c

// { dg-do run } 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) {} }