Код: Выделить всё
#include
template
concept Printable = requires (std::ostream & out, const T & t)
{
out
Подробнее здесь: [url]https://stackoverflow.com/questions/79557021/when-should-c-requires-go-after-the-function-signature[/url]Код: Выделить всё
#include
template
concept Printable = requires (std::ostream & out, const T & t)
{
out
Подробнее здесь: [url]https://stackoverflow.com/questions/79557021/when-should-c-requires-go-after-the-function-signature[/url]