代码搜索:using 开发教程
找到约 10,000 项符合「using 开发教程」的源代码
代码结果 10,000
www.eeworm.com/read/470720/1445587
c using1.c
class D2;
class B {
private:
int a; // ERROR - B::a is private
protected:
int b;
friend class D2;
};
class D : public B { // ERROR - within this context
public:
using B::a;
using B::b;
};
www.eeworm.com/read/470720/1445602
c using3.c
// Build don't link:
struct A{
A();
};
typedef struct {
A i;
} S;
struct B: S{
using S::S; // ERROR - no such field
};
www.eeworm.com/read/470720/1445648
c using5.c
// Build don't link:
// Based on bug report by Klaus-Georg Adams
//
struct bar {
typedef bar t;
};
struct foo : bar {
using bar::t;
t field;
t me
www.eeworm.com/read/470720/1446054
c using2.c
// Build don't link:
//
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 22 May 2001
// Bug 2184. Using decls in templates weren't doin
www.eeworm.com/read/470720/1446330
c using1.c
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 26 Feb 2001
// Bug 1981. using declarations in namespace scope were not remembered.
na
www.eeworm.com/read/470720/1446498
c using9.c
// Test for proper merging of functions from multiple using directives.
// Build don't link:
namespace standard
{ void print(int) {};
void dump(int) {};
}
namespace A { using standard::print; }
www.eeworm.com/read/470720/1446502
c using4.c
//Build don't link
#include
namespace csp {
using namespace std::vector; // ERROR - vector is not a namespace
}
www.eeworm.com/read/470720/1446505
c using13.c
namespace A{
void foo(int){}
}
namespace B{
void foo(bool){}
}
void bar()
{
using B::foo;
using A::foo;
foo(true);
}
namespace Foo {
template void Hello(N) {}
}
int main() {
u
www.eeworm.com/read/470720/1446515
c using8.c
// Build don't link:
namespace M {
int i;
}
namespace N {
using namespace M;
}
using namespace N;
int j = i;
namespace O{
int k;
}
namespace N {
using namespace O;
}
int l = k;
www.eeworm.com/read/470720/1446519
c using7.c
namespace X{
void f(int){}
}
void f();
int main()
{
using X::f;
f(3);
}