| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
| H A D | meta.d | 273 template staticIndexOf(T, TList...) in staticIndexOf() function 275 enum staticIndexOf = genericIndexOf!(T, TList).index; in staticIndexOf() local 279 template staticIndexOf(alias T, TList...) in staticIndexOf() function 281 enum staticIndexOf = genericIndexOf!(T, TList).index; in staticIndexOf() local 292 staticIndexOf!(long, AliasSeq!(int, long, double))); in foo() 327 static assert(staticIndexOf!( byte, byte, short, int, long) == 0); 328 static assert(staticIndexOf!(short, byte, short, int, long) == 1); 329 static assert(staticIndexOf!( int, byte, short, int, long) == 2); 330 static assert(staticIndexOf!( long, byte, short, int, long) == 3); 331 static assert(staticIndexOf!( char, byte, short, int, long) == -1); [all …]
|
| H A D | traits.d | 2314 import std.meta : staticIndexOf; 2318 && (staticIndexOf!(__traits(allMembers, T), "outer") == -1); 5178 import std.meta : staticIndexOf; 5184 static if (staticIndexOf!(Unqual!X, IntegralTypeList) >= 0) 5213 import std.meta : staticIndexOf; 5219 static if (staticIndexOf!(Unqual!X, FloatingPointTypeList) >= 0) 5277 import std.meta : staticIndexOf; 5279 staticIndexOf!(Unqual!X, UnsignedIntTypeList) >= 0) 5289 import std.meta : staticIndexOf; 5291 staticIndexOf!(Unqual!X, SignedIntTypeList) >= 0) [all …]
|
| H A D | numeric.d | 161 import std.meta : staticIndexOf; 504 static if (staticIndexOf!(Unqual!F, float, double, real) >= 0) 534 if (staticIndexOf!(Unqual!F, float, double, real) >= 0)
|
| H A D | variant.d | 158 (AllowedTypes.length == 0 || staticIndexOf!(T, AllowedTypes) >= 0); in VariantN()
|
| H A D | uni.d | 4806 import std.meta : Erase, staticIndexOf; in Utf8Matcher() 4807 enum hasASCII = staticIndexOf!(1, Sizes) >= 0; in Utf8Matcher()
|
| H A D | conv.d | 3212 staticIndexOf!(Unqual!Target, dchar, Unqual!(ElementEncodingType!Source)) >= 0)
|
| H A D | string.d | 6826 if (staticIndexOf!(Unqual!T, ubyte, ushort, uint) != -1)
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/ |
| H A D | meta.d | 256 template staticIndexOf(args...) 259 enum staticIndexOf = enum 277 staticIndexOf!(long, AliasSeq!(int, long, double))); in foo() 284 static assert(staticIndexOf!( byte, byte, short, int, long) == 0); 285 static assert(staticIndexOf!(short, byte, short, int, long) == 1); 286 static assert(staticIndexOf!( int, byte, short, int, long) == 2); 287 static assert(staticIndexOf!( long, byte, short, int, long) == 3); 288 static assert(staticIndexOf!( char, byte, short, int, long) == -1); 289 static assert(staticIndexOf!( -1, byte, short, int, long) == -1); 290 static assert(staticIndexOf!(void) == -1); [all …]
|
| H A D | numeric.d | 178 import std.meta : staticIndexOf; 492 … static if (staticIndexOf!(immutable F, immutable float, immutable double, immutable real) >= 0) 522 if (staticIndexOf!(immutable F, immutable float, immutable double, immutable real) >= 0)
|
| H A D | sumtype.d | 231 import std.meta : AliasSeq, Filter, IndexOf = staticIndexOf, Map = staticMap;
|
| H A D | variant.d | 200 (AllowedTypes.length == 0 || staticIndexOf!(T, AllowedTypes) >= 0); in VariantN()
|
| H A D | string.d | 178 import std.meta : AliasSeq, staticIndexOf; 7200 if (staticIndexOf!(immutable T, immutable ubyte, immutable ushort, immutable uint) != -1)
|
| H A D | conv.d | 3806 staticIndexOf!(immutable Target, immutable dchar, immutable ElementEncodingType!Source) >= 0)
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/array/ |
| H A D | operations.d | 155 enum idx = staticIndexOf!(not!isType, Args); in typeCheck() 400 template staticIndexOf(alias pred, haystack...) in staticIndexOf() function 403 enum staticIndexOf = 0; in staticIndexOf() local 406 enum next = staticIndexOf!(pred, haystack[1 .. $]); in staticIndexOf() 407 enum staticIndexOf = next == -1 ? -1 : next + 1; in staticIndexOf()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/ |
| H A D | iteration.d | 473 import std.meta : staticIndexOf;
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/uni/ |
| H A D | package.d | 4799 import std.meta : Erase, staticIndexOf; 4800 enum hasASCII = staticIndexOf!(1, Sizes) >= 0;
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/algorithm/ |
| H A D | iteration.d | 454 import std.meta : staticIndexOf;
|