Creates a generic tuple out of a sequence of zero or more types, expressions, or aliases.
Creates a generic tuple comprised of all elemetns of A which are teken starting from a given point and progressively extending left and right from that point. If RadialTupleMiddle is used or startingIndex is -1 it is assumed that no initial point is given and iteration starts from the middle of A.
Returns expression tuple with elements going through the numbers begin, begin + step, begin + 2 * step, ..., up to and excluding end. The two-arguments version has step = 1. The one-argument version also has begin = 0. If begin < end && step < 0 or begin > end && step > 0 or begin == end, then an empty tuple is returned.
Performs three-way lexicographical comparison on two packed generic tuples according to predicate pred.
Detect whether two packed generic tuples packedTuple1 and packedTuple2 elements are equal according to binary predicate pred.
Creates a generic tuple comprised of all elemetns of packed generic tuples packedTuples in sequence.
Creates a generic tuple comprised of packed generic tuples comprised of fixed-sized chunks of size chunkSize of A.
Creates a generic tuple comprised of elemetns of A for which a unary predicate pred is true.
Creates a generic tuple comprised of elemetns of packed generic tuple packedSourceTuple reordered according to packed expression tuple packedIndicesTuple. packedIndicesTuple may include only a subset of the elements of packedSourceTuple and may also repeat elements.
Creates a generic tuple comprised of packed generic tuples packedTuples generic tuples joined together using packed generic tuple packedSeparatorTuple as a separator.
Creates a generic tuple comprised of results of applying unary template Func to elemetns of A consecutively.
Creates a packed generic tuple out of a sequence of zero or more types, expressions, or aliases.
Creates a packed typetuple out of a sequence of zero or more types. Same as PackedGenericTuple, except it contains only types.
Creates a generic tuple comprised of all elemetns of A which are teken starting from a given point and progressively extending left and right from that point. If RadialTupleMiddle is used or startingIndex is -1 it is assumed that no initial point is given and iteration starts from the middle of A.
The instantiation of ReduceTuple!(Func, init, A) first lets result be init. Then, for each element x in A sequentially, it lets result be Inst!(BinaryTemplate!Func, result, x). Finally, result is returned.
Repeats A n times.
Creates a generic tuple comprised of elemetns of A in reverse order.
Creates a generic tuple comprised of all elemetns of packed generic tuples packedTuples in an order by analogy with Round-robin scheduling.
Creates a generic tuple comprised of elemetns of A taken with stride n.
Creates a typetuple out of a sequence of zero or more types. Same as GenericTuple, except it contains only types.
Creates a generic tuple comprised of unique consecutive elemetns of A.
Creates a generic tuple comprised of packed generic tuples comprised of elemetns of packed generic tuples packedTuples taken in lockstep.
Detect whether all elements of a generic tuple A satisfy the predicate pred.
Detect whether a generic tuple A contains an element satisfying the predicate pred.
Performs three-way lexicographical comparison on two packed generic tuples according to predicate pred.
Detect whether two packed generic tuples packedTuple1 and packedTuple2 elements are equal according to binary predicate pred.
Creates an expression tuple out of a sequence of zero or more expressions. Same as GenericTuple, except it contains only expressions.
Similarly to UniqTuple, creates a generic tuple comprised of packed generic tuples comprised of unique consecutive elemetns of A and counts of equivalent elements seen.
Creates a packed expression tuple out of a sequence of zero or more expressions. Same as PackedGenericTuple, except it contains only expressions.
Various stuff for working with generic tuples.
A replacement for $(STDMODULE typetuple).
The following symbols from std.typetuple are publicly imported:
The following symbols from std.typetuple are superseded:
The following symbols from std.typetuple are considered useless: