代码搜索:Nested
找到约 7,462 项符合「Nested」的源代码
代码结果 7,462
www.eeworm.com/read/440906/1775711
c nested2.c
// Build don't link:
// by Bert Bril
struct M1 {
struct I {};
};
struct M2 {
struct I {};
struct J : virtual public M
www.eeworm.com/read/440906/1775769
c nested1.c
// Build don't link:
struct A {
struct B {
typedef long T;
int i;
};
};
struct C {
struct B {
typedef float T;
int i;
};
};
C::B::T a;
www.eeworm.com/read/440906/1776223
c nested1.c
// Build don't link:
template
struct X
{
T1 a;
struct Y
{
T2 x;
Y (T2 _x) { x=_x; }
};
};
template
struct X
{
T1 a;
struct Y
{
int
www.eeworm.com/read/440906/1776471
c nested2.c
// Build don't link:
// Origin: Mathias Doreille
template
struct a {
struct b {
T operator()();
};
};
template
T a::b::operator()() { return
www.eeworm.com/read/440906/1777819
c nested7.c
// Testcase for defining nested types separately.
// Build don't link:
class remote
{
class remote_file;
};
class remote::remote_file
{
public:
~remote_file();
};
remote::remote_file::~remote_f
www.eeworm.com/read/440906/1777858
c nested8.c
// Build don't link:
struct A { };
struct B: public A {
struct C {
friend struct B; // gets bogus error - base clause w/o members
};
};
www.eeworm.com/read/440906/1777938
c nested4.c
// From: quipu@ulrik.uio.no
// Subject: extern "C" nested class
// Date: Fri, 13 Aug 1993 15:33:53 +0200
// Build don't link:
extern "C" {
struct A {
struct B { int j; } *x;
};
}
void
foo ()
www.eeworm.com/read/440906/1777988
c nested1.c
// Bug: g++ can't deal with function-local classes that talk about themselves.
// Build don't link:
void foo() {
class Wrapper {
public:
void F (void * Wrapperptr)
{
Wrapper * wrapp
www.eeworm.com/read/440906/1778106
c nested6.c
// Build don't link:
union A {
struct B { };
A::B b; // gets bogus error
};
www.eeworm.com/read/440906/1778109
c nested5.c
// Build don't link:
struct A {
struct B { };
};
struct C : public A {
struct D
: public B // gets bogus error - can't find B
{ };
};