diff --git a/examples/src/tuple.cpp b/examples/src/tuple.cpp index f2e9d49..caba874 100644 --- a/examples/src/tuple.cpp +++ b/examples/src/tuple.cpp @@ -5,12 +5,12 @@ auto main() -> int { using utempl::literals::operator""_c; - constexpr utempl::Tuple tuple = utempl::Tuple{42, 3.141500, "Hello World"}; + constexpr utempl::Tuple tuple = {42, 3.141500, "Hello World"}; utempl::Tuple tuple2{{}}; std::ignore = tuple2; std::cout << utempl::kTupleSize << std::endl; // Get tuple size std::cout << tuple[0_c] << std::endl; // Get element using [] with literal - auto newTuple = utempl::Transform(tuple, utempl::Overloaded( + auto newTuple = Transform(tuple, utempl::Overloaded( [](auto arg){ return std::to_string(arg); },