Difference between revisions of "cpp/named req/ContiguousContainer"
From cppreference.com
(http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4284.html) |
|||
Line 16: | Line 16: | ||
{{dsc inc | cpp/string/dsc basic_string}} | {{dsc inc | cpp/string/dsc basic_string}} | ||
{{dsc inc | cpp/container/dsc array}} | {{dsc inc | cpp/container/dsc array}} | ||
− | {{dsc inc | cpp/ | + | {{dsc inc | cpp/numeric/dsc valarray}} |
{{dsc inc | cpp/container/dsc vector}} | {{dsc inc | cpp/container/dsc vector}} | ||
{{dsc end}} | {{dsc end}} |
Revision as of 23:34, 4 July 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) |
numeric arrays, array masks and array slices (class template) | |
dynamic contiguous array (class template) |