On Wednesday, 7 June 2017 at 19:03:39 UTC, David Sanders wrote:
You can use nested templates to process multiple AliasSeqs like
so:
[snip]
Interesting approach also.
On Thursday, 25 May 2017 at 17:56:12 UTC, jmh530 wrote:
On Thursday, 25 May 2017 at 16:36:45 UTC, jmh530 wrote:
[snip]
I haven't played around with it fully, but it seems like the
following resolves my issue in a sort of manual way:
template Process1(A, B)
{
static if (!isIndex!B)
On Thursday, 25 May 2017 at 16:36:45 UTC, jmh530 wrote:
[snip]
I haven't played around with it fully, but it seems like the
following resolves my issue in a sort of manual way:
template Process1(A, B)
{
static if (!isIndex!B)
alias Process1 = A;
else
I'm trying to process one AliasSeq based on the types in another.
I've tried to sketch it out below. However, it doesn't work
because when you combine together two AliasSeq's in the template,
then it creates one AliasSeq.
The only other thing I considered was a staticMap with isIndex,
but I w