Assertion: queue's element | /r/HasProperty | scattered in different chunks of storage
Facets:
value: with keeping the necessary information
type: OTHER
Source sentences:
text: accessing elements in aby offsetting a pointer to another element causesBoth vectors and deques provide a very similar interface and can be used for similar purposes, but internally both work in quite different ways: While vectors use a single array that needs to be occasionally reallocated for growth, the elements of a deque can be scattered in different chunks of storage, with the container keeping the necessary information internally to provide direct access to any of its elements in constant time and with a uniform sequential interface (through iterators).