Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 596 Bytes

File metadata and controls

8 lines (8 loc) · 596 Bytes

Definition

The language defines a set of allowable behaviours, the compiler must:

  • Choose one option, and consistently use it everywhere
  • Document this as the behaviour of the compiler Developers can then rely on this documented compiler-defined behaviour.

Examples

Until C++20 this was implementation defined. For example in The GNU C Reference Manual specifies does arithmetic right shift on signed types.