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

Namespace Declarations

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

Resultant Symbol

References to namespace declarations resolve to a namespace value: a value of the namespace type, containing the names of all global declarations lexically within the declaration. A namespace value is used as the operand of the static access operator.

Syntax

namespace_declaration = namespace, identifier, left_brace, { global_declaration }, right_brace ;