Код: Выделить всё
Struct S{};
int main()
{
S::S{};
return 0;
}
Код: Выделить всё
qualified reference to 'S' is a constructor name rather than a type in this context
Вы можете увидеть выходные данные на https://www.godbolt.org/z/q1jKaeWvf
Так это просто расширение Microsoft?>
Подробнее здесь: https://stackoverflow.com/questions/798 ... or-like-ss
Мобильная версия