代码搜索:using 有哪些应用?
找到约 10,000 项符合「using 有哪些应用?」的源代码
代码结果 10,000
www.eeworm.com/read/470693/1458511
c using1.c
// Build don't link:
using namespace bb; // ERROR - .*
www.eeworm.com/read/470693/1458514
c using3.c
// Build don't link:
typedef unsigned int atypedef;
struct astruct{};
void afunction();
void aovlfunction();
void aovlfunction(int);
int avariable;
namespace foo {
using ::atypedef;
using ::astr
www.eeworm.com/read/470693/1458528
c using5.c
// Build don't link:
namespace a {
class b {
using std::c; //ERROR - namespace using on class level
};
}
www.eeworm.com/read/240162/4578990
c using1.c
void f();
namespace N {
using ::f;
}
bool b;
void g() {
b = N::f == ::f;
}
www.eeworm.com/read/240162/4579004
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/240162/4579008
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/240162/4579019
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/240162/4579023
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/240162/4579025
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-