Re:What If C++ Abandoned Backward Compatibility?
by jcelerier on Monday March 30, 2020 @03:48AM
(#22726026)
> Neither will C++, as far as I know, or do you mean that the compiler will validate the formatting of the string literal.
With iostreams there are no format strings so there is nothing to validate. Libraries such as https://github.com/fmtlib/fmt are allow to do compile-time parsing of the string though.
With iostreams there are no format strings so there is nothing to validate. Libraries such as https://github.com/fmtlib/fmt are allow to do compile-time parsing of the string though.