Lines Matching full:is
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
35 static if (is(T _ == const(U), U)) { in FullyUnqual()
37 } else static if (is(T _ == immutable(U), U)) { in FullyUnqual()
39 } else static if (is(T _ == shared(U), U)) { in FullyUnqual()
41 } else static if (is(T _ == U[], U) && !isSomeString!T) { in FullyUnqual()
43 } else static if (is(T _ == V[K], K, V)) { in FullyUnqual()
58 enum isStruct = is(T == struct); in isStruct()
62 enum isException = is(T : Exception); in isException()
66 enum isEnum = is(T == enum); in isEnum()
92 static if (is(typeof(T.fieldMeta) == TFieldMeta[])) {
103 // Note: We don't use getFieldMeta here to avoid bug if it is instantiated
105 static if (is(typeof(T.fieldMeta) == TFieldMeta[])) {
148 static if (is(typeof(T.methodMeta) == TMethodMeta[])) {
157 * true if T.name is a member variable. Exceptions include methods, static
161 static if (!is(MemberType!(T, name))) { in isValueMember()
164 is(MemberType!(T, name) == void) || in isValueMember()
176 * inherited fields. If a member is marked as TReq.IGNORE, it is not included
191 * true if the passed member name is not a method generated by the
228 * eponymous template predicate pred is true.
233 * static assert(is(Filtered == TypeTuple!(int, long)));
247 * Binds the first n arguments of a template to a particular value (where n is
257 * assign all of them during instantiation of the resulting template is an
264 * static assert(is(PartialFoo!float == Foo!(int, long, float)));
267 * static assert(is(SkippedTest!long == Test!(int, long, float)));
308 static assert(is(PartialTest!float == Test!(int, long, float)));
311 static assert(is(SkippedTest!long == Test!(int, long, float)));
319 * Composes a number of templates. The result is a template equivalent to
322 * is the same as instantiating A!(B!(C!(…))).
324 * This is especially useful for creating a template to use with staticMap/
357 * a template from a type tuple (e.g. T[0]!(...) is not valid) or a template
358 * returning another template (e.g. Foo!(Bar)!(Baz) is not allowed).
366 * All!(a, b, c) with parameters P for some templates a, b, c is equivalent to
370 * shurt-cut manner if a false result is encountered, in which case the latter
391 * Any!(a, b, c) with parameters P for some templates a, b, c is equivalent to
395 * shurt-cut manner if a true result is encountered, in which case the latter
423 * where Items is a ConfinedTuple and List is a type tuple.
426 is(typeof(Items.length) : size_t)
445 static if (is(typeof(T!U) : bool)) { in CompilesAndTrue()