代码搜索:using 开发教程
找到约 10,000 项符合「using 开发教程」的源代码
代码结果 10,000
www.eeworm.com/read/233448/4671159
c using14.c
// PR c++/21784
// { dg-options "" }
namespace mine
{
int cpow;
}
using mine::cpow;
www.eeworm.com/read/233448/4671167
c using12.c
// PR c++/16707
int i;
using N::i; // { dg-error "declared|expected" }
www.eeworm.com/read/233448/4671188
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/233448/4671192
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/233448/4671199
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/233448/4671524
c using2.c
namespace N {
template
struct foo {};
}
int main() {
using N::foo; // { dg-error "" }
}
www.eeworm.com/read/233448/4671624
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/233448/4672064
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/233448/4672255
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