Skip to content

Glossary: Software Design Patterns in C++

Repository

Also written: repo

An object that stores and finds things for the rest of the code, so nothing else knows how they're stored. `Repo` is the interface and `MemoryRepo` an implementation.

Where the book teaches it

Related terms

Dependency injectionFake