What exactly do “IB” and “UB” mean?
IB: Implementation-defined Behaviour. The standard leaves it up to the particular compiler/platform to define the precise behaviour, but requires that it be defined. Using implementation-defined behaviour can be useful, but makes your code less portable. UB: Undefined Behaviour. The standard does not specify how a program invoking undefined behaviour should behave. Also known as “nasal … Read more