代码搜索:Nested
找到约 7,462 项符合「Nested」的源代码
代码结果 7,462
www.eeworm.com/read/470693/1459705
c anon3.c
// Bug: g++ dies.
// Build don't link:
class cl {
public:
cl();
void set(void *, char *, int);
private:
union {
float vf;
struct ff { // ERROR - nested class in anonymous union
vo
www.eeworm.com/read/470693/1459752
c 2371.c
# 1 "SetLS.cc"
// GROUPS passed templates nested-classes
// Special g++ Options:
//
// The SetLS template test
//
// Wendell Baker, Berkeley CAD Group, 1993 (wbaker@ic.Berkeley.EDU)
//
#pragma imple
www.eeworm.com/read/470693/1459958
c scoping13.c
// Build don't link:
struct A { typedef int foo; };
struct B: public A {
typedef int bar;
struct C {
void g (B::bar); // gets bogus error - nested type failure
void f (B::foo);
};
};
www.eeworm.com/read/470693/1464093
c attr-nest.c
/* { dg-do compile } */
#define ATTR_PRINTF __attribute__ ((format (printf, 1, 2)))
#define ATTR_USED __attribute__ ((used))
void bar (int, ...);
/* gcc would segfault on the nested attribute. */
www.eeworm.com/read/451866/1659229
java libdir.java
package org.momeunit.ant.taskdefs;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.types.FileSet;
/**
* MoMEUnit nested tag intended to specify files of external library to be
* incl
www.eeworm.com/read/451866/1659242
java libjar.java
package org.momeunit.ant.taskdefs;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.types.ZipFileSet;
/**
* MoMEUnit nested tag intended to specify files of external library to be
* i
www.eeworm.com/read/240162/4582208
c nest4.c
// { dg-do assemble }
// { dg-options "-pedantic-errors" }
// GROUPS passed nested-classes
class vec {
class blah { };
::vec::blah satan( 0);// { dg-error "" } .*
blah herman( 0);// { dg
www.eeworm.com/read/240162/4582810
c 891230_01.c
// { dg-do run }
// g++ 1.36.1 bug 891230_01
// g++ gives typedefs which are nested within class declarations a scope
// which is local to the class declaration itself. This causes examples
// like
www.eeworm.com/read/240162/4582869
c template33.c
// { dg-do assemble }
// Test nested enums in templates.
template
class A
{
public:
enum muni {X, Y};
muni e() { return X; };
muni f();
};
template
typename A::muni
www.eeworm.com/read/240162/4583193
c scoping13.c
// { dg-do assemble }
struct A { typedef int foo; };
struct B: public A {
typedef int bar;
struct C {
void g (B::bar); // { dg-bogus "" } nested type failure
void f (B::foo);
};
};