Код: Выделить всё
name followed by '::' must be a class or namespace name
Я следовал этому решению https://stackoverflow.com/a/75401720 /3252285
Код: Выделить всё
#include
#include
#include
#include
#include
#include
template
template
std::ostream& print_array(const& arr) {
using T = std::ranges::range_value_t;
std::ranges::copy(arr, std::ostream_iterator(std::cout, ", "));
return os;
}

Подробнее здесь: https://stackoverflow.com/questions/791 ... ame-in-cro
Мобильная версия