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

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

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

c using1.c

void f(); namespace N { using ::f; } bool b; void g() { b = N::f == ::f; }
www.eeworm.com/read/162614/5517404

c using9.c

// { dg-do compile } // Origin: C++ Standard Draft (7.3.3/12) // PR c++/2294: using declarations should not conflict, but only cause // an ambiguous overload set to be created. namespace B { void
www.eeworm.com/read/162614/5517409

c using4.c

// { dg-do compile } // Origin: Richard Guenther // PR c++/9432: ICE in validate_nonmember_using_decl when decl is a // SCOPE_REF. template struct F
www.eeworm.com/read/162614/5517415

c using13.c

// { dg-do compile } // Origin: Stefan Stra遝r // PR c++/20240: namespace A { int a; } namespace C{ int a; using A::a; // { dg-error "already declared" } }
www.eeworm.com/read/162614/5517434

c using8.c

// { dg-do compile } // Origin: Bill Clarke // PR c++/11097: using declartion for a converter operator to a nested class // in a base type template struct A {
www.eeworm.com/read/162614/5517439

c using7.c

template struct A { int i; }; template struct B : A { // { dg-error "" } using A::i; // { dg-error "" } }; B b; // { dg-error "" }
www.eeworm.com/read/162614/5517442

c using6.c

// { dg-do compile } // Origin: Wolfgang Bangerth // PR c++/9022, nested namespace in using declaration namespace gnu { namespace gcc { } } using gnu::gcc; // { dg-
www.eeworm.com/read/162614/5517460

c using2.c

// Copyright (C) 2001, 2002 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 //
www.eeworm.com/read/162614/5517469

c using11.c

namespace N1 { enum e { a }; void e(char); } void f() { using N1::e; enum e x; }
www.eeworm.com/read/162614/5517471

c using14.c

// PR c++/21784 // { dg-options "" } namespace mine { int cpow; } using mine::cpow;