Advanced Container Adaptor Usage
Container adaptors, as their name suggests, adapt underlying containers to provide specific interfaces and functionalities. Think of them as a way to enhance or modify an existing container so that it serves a different purpose without having to reinvent the wheel. They wrap around base containers and provide a distinct set of member functions, imbuing them with behavior that can be useful in various programming scenarios.
This chapter provides references for the following containers:
std::stack
std::queue
std::priority_queue
std::flat_set
std::flat_map
std::flat_multiset
std::flat_multimap