Имя, за которым следует '::' 'Должен быть именем класса или пространства имен < /p>
< /blockquote>
Код: Выделить всё
#include
#include
#include
#include
#include
#include
#include
int main() {
std::string text = "Hello world.\n";
for (char c : text | std::views::transform([](char ch) { return std::toupper(ch); })) {
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79755234/visual-studio-2022-v143-stdviews-gets-error-name-followed-by-must-be-a[/url]
Мобильная версия