Skip to content

Glossary: C++ Basics

Narrowing

Also written: narrowing conversion

A conversion that loses information, such as putting 4.5 into an `int`. Brace initialization refuses it with an error.

Where the book teaches it

Related terms

Brace initializationCast