Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Define Declarations

Defines are named global declarations, subject to the behavior described here.

Resultant Symbol

References to define declarations resolve to the exact value of the right side's expression: a value of any kind, including a function value, a type value, a namespace value, and the value of another define.

Syntax

define_declaration = define, identifier, equal, expression ;