Код: Выделить всё
template struct foo {};
< /code>
Следующие использование в порядке < /p>
foo{};
foo{};
Код: Выделить всё
constexpr auto t1 = std::make_tuple('a',1);
foo {};
Код: Выделить всё
using foo_t1 = decltype ([] (std::index_sequence) {
return foo {};
} (std::make_index_sequence ()));
static_assert (std::is_same_v);
Подробнее здесь: https://stackoverflow.com/questions/795 ... late-class