Lines Matching refs:isNested
2357 template isNested(T)
2360 enum isNested = __traits(isNested, T);
2367 static assert(!isNested!S);
2371 static assert(isNested!NestedStruct);
2388 enum hasNested = isNested!T ||
2409 static assert(!__traits(compiles, isNested!int));
2413 static assert(!isNested!StaticStruct);
2418 static assert( isNested!NestedStruct);
2420 static assert( isNested!(immutable NestedStruct));
2423 static assert(!__traits(compiles, isNested!(NestedStruct[1])));
2428 static assert(!isNested!S1);
2432 static assert(!isNested!S2);
2436 static assert(!isNested!S3);
2440 static assert(!isNested!U);
2444 static assert(!isNested!StaticClass);
2448 static assert( isNested!NestedClass);
2450 static assert( isNested!(immutable NestedClass));
2453 static assert(!__traits(compiles, isNested!(NestedClass[1])));
2476 alias Fields = typeof(T.tupleof[0 .. $ - isNested!T]);
2532 alias FieldNameTuple = staticMap!(NameOf, T.tupleof[0 .. $ - isNested!T]);
6800 enum isNestedFunction = __traits(isNested, f);