Container Adapter

I first learned about this term when trying to understand the C++ Priority Queue implementation.

Actually, I did learn this in CS138, learning about the Adapter Design Pattern.


Unlike sequence and adapter containers, container adapters—such as stack, queue, and priority_queue—apply some sort of constraints in the storage and retrieval process of elements in the underlying data structure.