Difference between revisions of "cpp/iterator/permutable"
From cppreference.com
(removes equality preservation since it's not a direct requirement for this concept) |
m |
||
Line 15: | Line 15: | ||
===Semantic requirements=== | ===Semantic requirements=== | ||
− | + | {{tt|I}} models {{tt|permutable}} only if all concepts it subsumes are modeled. | |
===See also=== | ===See also=== |
Revision as of 23:30, 27 July 2020
Defined in header <iterator>
|
||
template< class I > concept permutable = |
(since C++20) | |
The concept permutable
refines std::forward_iterator
by adding requirements for reordering through moves and swaps.
Semantic requirements
I
models permutable
only if all concepts it subsumes are modeled.
See also
(C++20) |
specifies the common requirements of algorithms that permute sequences into ordered sequences (concept) |