Difference between revisions of "cpp/named req/ContiguousContainer"
From cppreference.com
(→ContiguousContainers in the standard library: who put valarray here? it's not even a container) |
m |
||
Line 18: | Line 18: | ||
{{dsc inc | cpp/container/dsc vector}} | {{dsc inc | cpp/container/dsc vector}} | ||
{{dsc end}} | {{dsc end}} | ||
+ | |||
+ | {{langlinks|zh}} |
Revision as of 21:43, 18 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
X
satisfies Template:concept - The type
X
supports Template:concepts - The member types X::iterator and X::const_iterator are Template:concepts
ContiguousContainers in the standard library
stores and manipulates sequences of characters (class template) | |
(C++11) |
fixed-sized inplace contiguous array (class template) |
dynamic contiguous array (class template) |