Код: Выделить всё
template
using var_t = std::variant;
template
requires(std::constructible_from)
using tup_t = std::tuple;
Код: Выделить всё
Syntax
Alias declarations are declarations with the following syntax:
using identifier attr (optional) = type-id ; (1)
template < template-parameter-list >
using identifier attr (optional) = type-id ; (2)
Подробнее здесь: https://stackoverflow.com/questions/787 ... es-allowed