Lines Matching refs:NestedStruct
2584 struct NestedStruct { void f() { ++i; } }
2585 static assert(isNested!NestedStruct);
2631 struct NestedStruct { void f() { ++i; } }
2632 static assert( isNested!NestedStruct);
2633 static assert( hasNested!NestedStruct);
2634 static assert( isNested!(immutable NestedStruct));
2635 static assert( hasNested!(immutable NestedStruct));
2637 static assert(!__traits(compiles, isNested!(NestedStruct[1])));
2638 static assert( hasNested!(NestedStruct[1]));
2639 static assert(!hasNested!(NestedStruct[0]));
2641 struct S1 { NestedStruct nested; }
2645 static struct S2 { NestedStruct nested; }
2649 static struct S3 { NestedStruct[0] nested; }
2653 static union U { NestedStruct nested; }