代码搜索:Nested
找到约 7,462 项符合「Nested」的源代码
代码结果 7,462
www.eeworm.com/read/240162/4582942
c anon3.c
// { dg-do assemble }
// Bug: g++ dies.
class cl {
public:
cl();
void set(void *, char *, int);
private:
union {
float vf;
struct ff { // { dg-error "" } nested class in anonymous unio
www.eeworm.com/read/240162/4582989
c 2371.c
// { dg-do run }
// { dg-options "" }
# 1 "SetLS.cc"
// GROUPS passed templates nested-classes
//
// The SetLS template test
//
// Wendell Baker, Berkeley CAD Group, 1993 (wbaker@ic.Berkeley.EDU)
//
www.eeworm.com/read/240162/4589871
c debug-6.c
/* Verify that bb-reorder re-inserts nested scopes properly. */
/* { dg-do compile } */
/* { dg-options "-dA" } */
/* { dg-final { scan-assembler "xyzzy" } } */
extern void abort (void);
struct A {
www.eeworm.com/read/233448/4672806
c memfriend17.c
// { dg-do compile }
// Origin: Giovanni Bajo
// PR c++/13495: Nested class as template friend.
template
class A{
public:
class B
{
void func1(v
www.eeworm.com/read/233448/4673192
c access7.c
// { dg-do assemble }
// Test that access control for types and statics works properly
// with nested types.
class A {
static int I1; // { dg-error "" } private
struct B1 { }; // { dg-error "
www.eeworm.com/read/233448/4673772
c defarg8.c
// { dg-do assemble }
// Default arguments containing more than one non-nested explicit
// template argument leads to parse error
// This might be ill formed. See DR 325 (which would like to make i
www.eeworm.com/read/233448/4674942
c nest11.c
// { dg-do assemble }
// GROUPS passed nested-classes
class A {
int x;
struct B {
int x;
};
struct C;
friend struct C;
struct C {
int bug (A::B &y);
};
};
int
A::C::bug (A::B
www.eeworm.com/read/233448/4675129
c nest17.c
// { dg-do assemble }
// GROUPS passed nested-classes
class T {
public:
typedef int I;
class Y {int y;};
typedef Y Z;
};
T::I i;
T::Y y;
T::Z z;
www.eeworm.com/read/233448/4675761
c anon3.c
// { dg-do assemble }
// Bug: g++ dies.
class cl {
public:
cl();
void set(void *, char *, int);
private:
union {
float vf;
struct ff { // { dg-error "" } nested class in anonymous unio
www.eeworm.com/read/233448/4675808
c 2371.c
// { dg-do run }
// { dg-options "" }
# 1 "SetLS.cc"
// GROUPS passed templates nested-classes
//
// The SetLS template test
//
// Wendell Baker, Berkeley CAD Group, 1993 (wbaker@ic.Berkeley.EDU)
//