代码搜索:Nested
找到约 7,462 项符合「Nested」的源代码
代码结果 7,462
www.eeworm.com/read/440906/1774995
c type1.c
// Test for helpful error messages on invalid nested-name-specifiers.
struct A {
template struct B { static int c; };
};
int A::B::c; // { dg-error "parameters" }
int A::C::d; // { d
www.eeworm.com/read/440906/1775263
c access7.c
// Test that access control for types and statics works properly
// with nested types.
// Build don't link:
class A {
static int I1; // ERROR - private
struct B1 { }; // ERROR - private
public
www.eeworm.com/read/440906/1776964
c nest10.c
// Build don't link:
// GROUPS passed nested-classes
class A
{
public:
class B
{
public:
int f ();
void g (int);
private:
int b;
};
};
int A::B::f ()
{
int val=b;
ret
www.eeworm.com/read/440906/1777048
c nest13.c
// Build don't link:
// GROUPS passed nested-classes
// The bug here is that wer'e getting a message about inner not
// being a basetype itself. I think it's because it's being
// compared as the "i
www.eeworm.com/read/440906/1777100
c nest4.c
// Build don't link:
// Special g++ Options: -pedantic-errors
// GROUPS passed nested-classes
class vec {
class blah { };
::vec::blah satan( 0);// ERROR - .*
blah herman( 0);// ERROR - .
www.eeworm.com/read/440906/1777898
c synth10.c
// Special g++ Options: -O
// Build don't link:
// Bug: Synthesizing methods for the nested class screwed up current_class_decl
// for the outer class.
class A;
class AH
{
public:
AH ( A * p
www.eeworm.com/read/440906/1780271
c anon-1.c
/* Copyright (C) 2001 Free Software Foundation, Inc. */
/* Source: Neil Booth, 4 Nov 2001, derived from PR 2820 - field lookup in
nested anonymous entities was broken. */
struct
{
int x;
st
www.eeworm.com/read/440906/1781694
c 20011023-1.c
/* Test whether tree inlining works with prototyped nested functions. */
extern void foo (char *x);
void bar (void);
void bar (void)
{
auto void baz (void);
void baz (void)
{
char tmp[
www.eeworm.com/read/432727/1890393
zul z30-tree-0001.zul
Test each button works properly.
Nested header
www.eeworm.com/read/402787/2317874
cpp ex9_14.cpp
// Ex9_14.cpp : main project file.
// Using a nested class to define a stack
#include "stdafx.h"
#include "Box.h" // For Box and Container
#include "GlassBox.h" // F