15template<
typename... Types>
23template<
typename... Types_1,
typename... Types_2>
50 mp{ {5, 6}, {
"Thomas Kim" } };
52 auto& [int_value, short_value ] = mp.m_tuple;
55 stream <<
"short_value = " << short_value <<
endl;
59 stream <<
"the value of variant: "
63 mp.m_variant = 22.0 /7.0;
67 stream <<
"the value of variant: "
void test_multiple_packs()
void how_to_use_multiple_packs()
std::tuple< Types_1... > tuple_t
std::variant< Types_2... > variant_t
enable_if_variant_t< VariantType > visit(VisitorType &&visitor, VariantType &&vt)