24 stream <<
"--- Tuple-Variant Binary Operations ---" <<
endL;
26 std::tuple t{1, 2.5, 3.6f};
28 using variant_t = std::variant<int, double, float>;
33 auto a = (t - v) - v;
stream <<
"a = " << a <<
", Type: " >> a <<
endl;
35 auto av = types::convert_to_container<std::vector>(a);
37 stream << av >> av <<
endl;
39 stream <<
"\t\t--- By Thomas Kim, Feb. 05, 2020. ---" <<
endl;
Type to string name conversions are defined.
Stream output operators << are implemented.
Type functions are implemented.
void test_tuple_variant_operations()