Skip to content

Glossary: C++ Basics

bool

Also written: boolean

A type that holds either `true` or `false`. A comparison such as `bags >= 5` gives a `bool`.

Where the book teaches it

Related terms

ConditionType