Defined Terms
adaptor Library type, function, or iterator that, given a type, function, or iterator, makes it act like another. There are three sequential container adaptors: stack
, queue
, and priority_queue
. Each adaptor defines a new interface on top of an underlying sequential container type.
array Fixed-size sequential container. To define an array
, we must give the size in addition to specifying the element type. Elements in an array
can be accessed by their positional index. Supports fast random access to elements.
begin Container operation that returns an iterator referring to the first element in the container, if there is one, or the off-the-end iterator if the container is empty. Whether the returned iterator is const
depends on the ...
Get C++ Primer, Fifth 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.