Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 953 Bytes

File metadata and controls

15 lines (13 loc) · 953 Bytes

Declarations & initialization

Introducing names with types, and the many ways C++ initializes objects. Mirrors cppreference's declarations.

Page What
Declarations & auto type deduction, auto, decltype, structured bindings
Initialization direct/copy/list/value init, and () vs {}
const, constexpr, mutable the const family and friends
Pointers, references & arrays indirection, and the safer modern wrappers
Namespaces & name lookup namespaces, using, inline namespaces, ADL
Enumerations enum class vs plain enum
Type aliases using / typedef, alias templates
Attributes [[nodiscard]], [[likely]], [[assume]], and friends