Skip to content

Glossary: C++ Basics

const reference

Also written: const references

A reference that passes the original value without copying it and promises not to change it, such as `const std::string& name`.

Where the book teaches it

Related terms

ReferencePass by value