Date: Thu, 12 Nov 2020 10:12:32 -0500
Piecewise in-place construction of a pair is already incredibly
cumbersome to write and read for just two values. Expanding that to N
values is going to make for some pretty nightmarish code.
Also, I'm not sure it's actually possible to extend it to N tuples.
`pair`'s piecewise-construction constructor is hard-coded to have 2
template packs in it. An N-tuple version would need to have N packs.
You can write that for any particular N, but I don't know if it's
possible for a generalized arbitrary N.
So before going down the road of a proposal, you should write an
implementation of it.
cumbersome to write and read for just two values. Expanding that to N
values is going to make for some pretty nightmarish code.
Also, I'm not sure it's actually possible to extend it to N tuples.
`pair`'s piecewise-construction constructor is hard-coded to have 2
template packs in it. An N-tuple version would need to have N packs.
You can write that for any particular N, but I don't know if it's
possible for a generalized arbitrary N.
So before going down the road of a proposal, you should write an
implementation of it.
Received on 2020-11-12 09:12:44