Home
last modified time | relevance | path

Searched refs:staticIndexOf (Results 1 – 17 of 17) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dmeta.d273 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 Dtraits.d2314 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 Dnumeric.d161 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 Dvariant.d158 (AllowedTypes.length == 0 || staticIndexOf!(T, AllowedTypes) >= 0); in VariantN()
H A Duni.d4806 import std.meta : Erase, staticIndexOf; in Utf8Matcher()
4807 enum hasASCII = staticIndexOf!(1, Sizes) >= 0; in Utf8Matcher()
H A Dconv.d3212 staticIndexOf!(Unqual!Target, dchar, Unqual!(ElementEncodingType!Source)) >= 0)
H A Dstring.d6826 if (staticIndexOf!(Unqual!T, ubyte, ushort, uint) != -1)
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dmeta.d256 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 Dnumeric.d178 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 Dsumtype.d231 import std.meta : AliasSeq, Filter, IndexOf = staticIndexOf, Map = staticMap;
H A Dvariant.d200 (AllowedTypes.length == 0 || staticIndexOf!(T, AllowedTypes) >= 0); in VariantN()
H A Dstring.d178 import std.meta : AliasSeq, staticIndexOf;
7200 if (staticIndexOf!(immutable T, immutable ubyte, immutable ushort, immutable uint) != -1)
H A Dconv.d3806 staticIndexOf!(immutable Target, immutable dchar, immutable ElementEncodingType!Source) >= 0)
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/array/
H A Doperations.d155 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 Diteration.d473 import std.meta : staticIndexOf;
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/uni/
H A Dpackage.d4799 import std.meta : Erase, staticIndexOf;
4800 enum hasASCII = staticIndexOf!(1, Sizes) >= 0;
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/algorithm/
H A Diteration.d454 import std.meta : staticIndexOf;