Код: Выделить всё
template
inline constexpr bool is_int_v1 = std::is_same_v;
template
concept is_int_v2 = std::is_same_v;
- это лучшее, или они - эквивалент?
Подробнее здесь: https://stackoverflow.com/questions/743 ... nd-concept
Код: Выделить всё
template
inline constexpr bool is_int_v1 = std::is_same_v;
template
concept is_int_v2 = std::is_same_v;