On Tuesday, 29 March 2016 at 10:06:43 UTC, Adrian Matoga wrote:
(...)
Another version that doesn't misbehave if first and second are of
different lengths:
import std.meta : AliasSeq;
template RR(A...) {
template With(B...) {
static if (A.length == 0 || B.length ==
On 03/29/2016 02:33 AM, Voitech wrote:
Hi, i want to join two or more tupples in to one, with mixing the
indexes like roundRobin but in compile time.
unittest{
import std.meta;
alias first=AliasSeq!(int, string,bool);
alias second=AliasSeq!("abc","def","ghi");
alias third=...
static
On Tuesday, 29 March 2016 at 09:33:40 UTC, Voitech wrote:
Hi, i want to join two or more tupples in to one, with mixing
the indexes like roundRobin but in compile time.
unittest{
import std.meta;
alias first=AliasSeq!(int, string,bool);
alias second=AliasSeq!("abc","def","ghi");
alias