cpp/named req/ContiguousContainer: Difference between revisions
From cppreference.com
→ContiguousContainers in the standard library: who put valarray here? it's not even a container |
mNo edit summary |
||
| Line 18: | Line 18: | ||
{{dsc inc | cpp/container/dsc vector}} | {{dsc inc | cpp/container/dsc vector}} | ||
{{dsc end}} | {{dsc end}} | ||
Revision as of 05:43, 19 August 2017
Template:cpp/concept/title Template:cpp/concept/navbar
A ContiguousContainer is a Template:concept that stores objects in contiguous memory locations.
Requirements
The type X satisfies ContiguousContainer if
- The type
Xsatisfies Template:concept - The type
Xsupports Template:concepts - The member types
X::iteratorandX::const_iteratorare Template:concepts
ContiguousContainers in the standard library
| stores and manipulates sequences of characters (class template) | |
(C++11) |
fixed-sized inplace contiguous array (class template) |
| resizable contiguous array (class template) |