Код: Выделить всё
#include
#include
#include
using namespace std::literals;
int main()
{
// bounded overload
for (auto s : std::views::repeat("C++"sv, 3))
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78988627/cpp-error-repeat-is-not-a-member-of-stdviews[/url]
Мобильная версия