Код: Выделить всё
#include
#include
template
struct MyStruct;
template
struct MyStruct {
static void print()
{
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79165216/c-concepts-function-template-has-already-been-defined[/url]