18 Jul
2017
18 Jul
'17
10:51 a.m.
Bruno Dutra wrote:
How about we provide it in MPL instead?
namespace mpl {
template
class L = std::tuple> using to_tuple = /*as above*/ } ...
Personally I think this doesn't belong to MPL.
A cursory search seems to show that the desire to use std::tuple with MPL is not uncommon, although getting a tuple out of an MPL sequence is of course only half of the story, people also want to use std::tuple as if it were an MPL sequence.