Lesson 24. Adaptive Containers: Stack and Queue

The Standard Template Library (STL) features containers that adapt others to simulate stack and queue behavior. Such containers that internally use another and present a distinct behavior are called adaptive containers.

In this lesson, you learn

Image The behavioral characteristics of stacks and queues

Image Using the STL stack

Image Using the STL queue

Using the STL priority_queue

The Behavioral Characteristics of ...

Get Sams Teach Yourself C++ in One Hour a Day, Eighth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.