代码搜索:Nested
找到约 7,462 项符合「Nested」的源代码
代码结果 7,462
www.eeworm.com/read/440906/1777018
c nest11.c
// Build don't link:
// 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/440906/1777205
c nest17.c
// Build don't link:
// 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/440906/1782259
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/428246/1961827
java sortandprunecomposites.java
package org.slf4j.profiler;
import java.util.ArrayList;
import java.util.Arrays;
public class SortAndPruneComposites {
static String NESTED_PROFILER_NAME = "SORT_AND_PRUNE";
final i
www.eeworm.com/read/402787/2317944
cpp ex6_05.cpp
// Ex6_05.cpp
// Nested try blocks
#include
using std::cin;
using std::cout;
using std::endl;
int main(void)
{
int height = 0;
const double inchesToMeters = 0.0254;
char c
www.eeworm.com/read/396039/2425644
java stateinfo.java
import java.io.*;
import java.awt.*;
import java.util.*;
import com.sun.java.swing.*;
//This class represents each state
class StateInfo extends Info {
int level = 0; //For nested states
www.eeworm.com/read/366702/2866956
c variadic67.c
// { dg-options "-std=gnu++0x" }
template struct tuple {};
template
struct nested
{
typedef tuple type;
};
template
www.eeworm.com/read/366702/2868884
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/366702/2869250
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 "