86. ◆異なる要素数から構築する
• sprout::tuple 解決策その2
– タプルの再帰的な変換が可能になる
auto x = tuple< tuple< int >, int >(make_tuple(1), 2);
tuple< tuple< int, int >, int, int > y = recursive_flex(x);
87. ◆異なる要素数から構築する
• sprout::tuple 解決策その2
– タプルの再帰的な変換が可能になる
auto x = tuple< tuple< int >, int >(make_tuple(1), 2);
tuple< tuple< int, int >, int, int > y = recursive_flex(x);
入れ⼦になったタプルの
増えた引数
トップレベルのタプルの
増えた引数