代码搜索:using 有哪些应用?
找到约 10,000 项符合「using 有哪些应用?」的源代码
代码结果 10,000
www.eeworm.com/read/240162/4579034
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/240162/4579039
c using11.c
namespace N1 {
enum e { a };
void e(char);
}
void f() {
using N1::e;
enum e x;
}
www.eeworm.com/read/240162/4579050
c using3.c
// PR c++/9798
namespace std { }
namespace STL { using namespace std; }
namespace std {
using namespace STL;
}
namespace STL {
struct A {
void B() { using namespace std; }
};
}
www.eeworm.com/read/240162/4579052
c using-10.c
// PR c++/13659
// { dg-do compile }
namespace foo1 {
template void f(T);
}
namespace foo2 {
template void f(T, T);
}
namespace foo {
using namespace foo1;
using namespac
www.eeworm.com/read/240162/4579056
c using5.c
// { dg-do compile }
// Origin: Volker Reichelt
// PR c++/10554: ICE for member using declaration with failed
// scope name lookup.
template struct A
{
www.eeworm.com/read/240162/4579249
c using2.c
namespace N {
template
struct foo {};
}
int main() {
using N::foo; // { dg-error "" }
}
www.eeworm.com/read/240162/4579326
c using3.c
// { dg-do compile }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 6 Sep 2003
// Origin: stefaandr@hotmail.com
// PR c++/11794. Usin
www.eeworm.com/read/240162/4579773
c using2.c
// { dg-do run }
// Copyright (C) 2002 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 15 Sep 2002
// PR 7919. Methods found via using decls didn't have the
www.eeworm.com/read/240162/4579790
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(