Skip to content

Glossary: C++ Basics

Member initializer list

Also written: initializer list

The part of a constructor after a colon, such as `: name_{name}, count_{count}`, that gives each member its first value before the body runs.

Where the book teaches it

Related terms

Constructor