代码搜索:using 有哪些应用?
找到约 10,000 项符合「using 有哪些应用?」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5517479
c using12.c
// PR c++/16707
int i;
using N::i; // { dg-error "'N' has not been declared" }
www.eeworm.com/read/162614/5517503
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/162614/5517508
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/162614/5517515
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/162614/5517855
c using2.c
namespace N {
template
struct foo {};
}
int main() {
using N::foo; // { dg-error "" }
}
www.eeworm.com/read/162614/5517968
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/162614/5518440
c using2.c
// PR c++/22489
namespace N { }
struct T
{
T () { }
};
void
bar ()
{
struct U : public T
{
void baz ()
{
using namespace N;
}
} u;
u.baz();
}
www.eeworm.com/read/162614/5518450
c using1.c
// PR c++/19406
// { dg-do compile }
struct A
{
virtual int foo();
double d;
};
struct B : public A
{
A::d;
};
B b;
www.eeworm.com/read/162614/5518669
c using4.c
// Copyright (C) 2005 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 6 Jun 2005
// PR 20613:uninformative diagnostic
// Origin: Wolfgang Bangerth