Код: Выделить всё
template
struct has_none : std::false_type
{
};
template
struct has_none : std::true_type {};
< /code>
Эта проверка будет связана с std :: is_enum_v < /code>. Вопрос в том, как бы я создал бы type_trait Подробнее здесь: https://stackoverflow.com/questions/606 ... mber-value
Мобильная версия