代码搜索:Nested
找到约 7,462 项符合「Nested」的源代码
代码结果 7,462
www.eeworm.com/read/190666/5175533
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/190666/5175572
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/190666/5175652
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/190666/5175702
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/190666/5175820
c nested6.c
// Build don't link:
union A {
struct B { };
A::B b; // gets bogus error
};
www.eeworm.com/read/190666/5175823
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/190666/5175864
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/190666/5177840
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/190666/5177858
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;
www.eeworm.com/read/190666/5177921
m nested-3.m
/* Contributed by Nicola Pero - Fri Mar 9 19:39:15 CET 2001 */
#include
/* Test defining a nested function inside a method */
@interface Test
{
Class isa;
}
+ (int) test;
@end
@imp