代码搜索:using 有哪些应用?
找到约 10,000 项符合「using 有哪些应用?」的源代码
代码结果 10,000
www.eeworm.com/read/240162/4581739
c using12.c
// { dg-do assemble }
// Origin: Brendan Kehoe
namespace foo
{
void x (bool); // { dg-error "" } candidates
void x (char); // { dg-error "" } candidates
void x (in
www.eeworm.com/read/240162/4581753
c using1.c
// { dg-do assemble }
using namespace bb; // { dg-error "" } .*
www.eeworm.com/read/240162/4581756
c using3.c
// { dg-do assemble }
typedef unsigned int atypedef;
struct astruct{};
void afunction();
void aovlfunction();
void aovlfunction(int);
int avariable;
namespace foo {
using ::atypedef;
using ::as
www.eeworm.com/read/240162/4581770
c using5.c
// { dg-do assemble }
namespace a {
class b {
using std::c; //{ dg-error "" } namespace using on class level
};
}
www.eeworm.com/read/233448/4671044
c using2.c
// { dg-do compile }
// Copyright 2005 Free Software Foundation
// by Alexandre Oliva
// based on https://bugzilla.redhat.com/beta/show_bug.cgi?id=149098
// Per the ISO C++ 90 St
www.eeworm.com/read/233448/4671055
c using1.c
void f();
namespace N {
using ::f;
}
bool b;
void g() {
b = N::f == ::f;
}
www.eeworm.com/read/233448/4671098
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/233448/4671102
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/233448/4671107
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/233448/4671124
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
{