LINUX.ORG.RU

История изменений

Исправление fsb4000, (текущая версия) :

Or having to reaffirm that no, you can’t just “Use a String Literal”, because MSVC has an arbitrarily tiny limit of string literals in its compiler (64 kB, no they can’t raise it because ABI, I know, I checked with multiple bug reports and with the implementers themselves as have many other frustrated developers).

Нашёл в статье ошибку.

В VS 2022 убрали ограничение на максимальную длину строкового литерала. Теперь ограничением на длину является лишь объём памяти. И забыли обновить доки.

https://imgur.com/a/u5mpa6G

Создал PR: https://github.com/MicrosoftDocs/cpp-docs/pull/4063

Исходная версия fsb4000, :

Or having to reaffirm that no, you can’t just “Use a String Literal”, because MSVC has an arbitrarily tiny limit of string literals in its compiler (64 kB, no they can’t raise it because ABI, I know, I checked with multiple bug reports and with the implementers themselves as have many other frustrated developers).

Нашёл в статье ошибку.

В VS 2022 убрали ограничение на максимальную длину строкового литерала. Теперь ограничением на длину является лишь объём памяти. И забыли обновить доки.

Создал PR: https://github.com/MicrosoftDocs/cpp-docs/pull/4063