代码搜索:Nested
找到约 7,462 项符合「Nested」的源代码
代码结果 7,462
www.eeworm.com/read/470720/1446392
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/470720/1447740
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/470720/1447779
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/470720/1447859
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/470720/1447909
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/470720/1448027
c nested6.c
// Build don't link:
union A {
struct B { };
A::B b; // gets bogus error
};
www.eeworm.com/read/470720/1448030
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
{ };
};
www.eeworm.com/read/470720/1448071
c nested2.c
// PRMS Id: 3764 (c/h)
// Bug: g++ gets into an infinite loop trying to find the top-level context
// Build don't link:
class Menu;
class MenuItem;
class MenuAction {
public:
virtual void execute
www.eeworm.com/read/470720/1450072
m nested-1.m
/* Contributed by Nicola Pero Wed Feb 21 12:08:16 GMT 2001 */
int main (void)
{
void nested (void)
{
return;
}
return 0;
}
www.eeworm.com/read/470720/1450090
m nested-2.m
/* Contributed by Nicola Pero Mon Mar 5 19:57:11 CET 2001 */
int main (void)
{
inline int nested (void)
{
return 1;
}
if (nested () != 1)
{
exit (1);
}
return 0;