Код: Выделить всё
template
concept Foo = requires(T t) {
// constraints...
};
std::vector getFooVector();
Подробнее здесь: https://stackoverflow.com/questions/779 ... -a-concept
Код: Выделить всё
template
concept Foo = requires(T t) {
// constraints...
};
std::vector getFooVector();