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

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

代码结果 10,000
www.eeworm.com/read/190666/5172552

c using2.c

// Copyright (C) 2001 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms
www.eeworm.com/read/190666/5172671

c using1.c

// Test that overloading on 'this' quals works with class using-declarations. // { dg-do link } struct A { void f() const; void f() {} void g() const {} void g(); void h() const; void h(
www.eeworm.com/read/190666/5172672

c using3.c

class A { public: typedef int T; int a; }; class B : virtual private A { }; class C : virtual private A, public B { public: using A::a; using A::T; }; C::T x;
www.eeworm.com/read/190666/5172972

c using9.c

// Build don't link: // // Copyright (C) 2000 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 26 Feb 2001 // Bug 75. using declarations cannot introduce fun
www.eeworm.com/read/190666/5172985

c using4.c

// Build don't link: // Based on a testcase by Martin Bachtold struct foo { void m(); }; struct bar : foo { using foo::m; void m(int); }; void f() { bar b; b.
www.eeworm.com/read/190666/5173070

c using8.c

// Build don't link: // Copyright (C) 2000 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 14 Nov 2000 // We rejected using decls bringing in functions from
www.eeworm.com/read/190666/5173093

c using7.c

// Build don't link: class A { protected: static void f() {}; }; class B : A { public: using A::f; void g() { f(); A::f(); } struct C { void g() { f(); A::f();
www.eeworm.com/read/190666/5173112

c using6.c

// 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 { int f(double) {
www.eeworm.com/read/190666/5173180

c using2.c

// Build don't link: struct X{ void f(); }; struct Y:X{ void f(int); void f(); using X::f; };
www.eeworm.com/read/190666/5173377

c using1.c

class D2; class B { private: int a; // ERROR - B::a is private protected: int b; friend class D2; }; class D : public B { // ERROR - within this context public: using B::a; using B::b; };