Skip to content

Glossary: C++ Basics

constexpr

Like `const`, but the value must be known when the program is compiled. It suits fixed prices such as `bag_cents`.

Where the book teaches it

Related terms

const