What is implementation-defined behaviour?
Show answer and explanation
Implementation-defined behavior lets each implementation choose an allowed behavior but requires that choice to be documented, such as sizes or mappings for certain types. Portable code either avoids depending on it or validates the documented target.
Implementation-defined behavior lets each implementation choose an allowed behavior but requires that choice to be documented, such as sizes or mappings for certain types. Portable code either avoids depending on it or validates the documented target.
Connect the conclusion directly to the type, lifetime, ownership, overload-resolution rule, or library contract present in the question. State implementation dependence or a violated precondition explicitly instead of merely guessing output.