This post discusses the different types of behavior in the C++ language, including well-formed, ill-formed, ill-formed no diagnostic required, unspecified behavior, implementation-defined behavior, undefined behavior, and introduces the new concept of erroneous behavior in C++26.

6m read timeFrom mariusbancila.ro
Post cover image
Table of contents
Well-formedIll-formedIll-formed, no diagnostic requiredUnspecified behaviourImplementation-defined behaviourUndefined behaviourErroneous behaviour

Sort: