2 ms·
You can as of C++20 - aggregate initialization has been extended to support T(x, y) syntax. See https://godbolt.org/z/Tj5baM https://godbolt.org/z/Tj5baM and h
by vinkelhake 6y ago
You can as of C++20 - aggregate initialization has been extended to support T(x, y) syntax.
See https://godbolt.org/z/Tj5baM https://godbolt.org/z/Tj5baM
and https://en.cppreference.com/w/cpp/language/aggregate_initialization https://en.cppreference.com/w/cpp/language/aggregate_initial... (case 5).