deduction guides für std::flat_multiset
| Definiert in Header <flat_set> |
||
| template< class KeyContainer, class Compare = std::less<typename KeyContainer::value_type> > |
(1) | (seit C++23) |
| template< class KeyContainer, class Allocator > flat_multiset( KeyContainer, Allocator ) |
(2) | (seit C++23) |
| template< class KeyContainer, class Compare, class Allocator > flat_multiset( KeyContainer, Compare, Allocator ) |
(3) | (seit C++23) |
| template< class KeyContainer, class Compare = std::less<typename KeyContainer::value_type> > |
(4) | (seit C++23) |
| template< class KeyContainer, class Allocator > flat_multiset( std::sorted_equivalent_t, KeyContainer, Allocator ) |
(5) | (seit C++23) |
| template< class KeyContainer, class Compare, class Allocator > flat_multiset( std::sorted_equivalent_t, KeyContainer, Compare, Allocator ) |
(6) | (seit C++23) |
| template< class InputIter, class Compare = std::less</*iter-value-type*/<InputIter>> > |
(7) | (seit C++23) |
| template< class InputIter, class Compare = std::less</*iter-value-type*/<InputIter>> > |
(8) | (seit C++23) |
| template< ranges::input_range R, class Compare = std::less<ranges::range_value_t<R>>, |
(9) | (seit C++23) |
| template< ranges::input_range R, class Allocator > flat_multiset( std::from_range_t, R&&, Allocator ) |
(10) | (seit C++23) |
| template< class Key, class Compare = std::less<Key> > flat_multiset( std::initializer_list<Key>, Compare = Compare() ) |
(11) | (seit C++23) |
| template< class Key, class Compare = std::less<Key> > flat_multiset( std::sorted_equivalent_t, |
(12) | (seit C++23) |
Diese Ableitungs-Guides werden für bereitgestellt, um die Ableitung von Folgendem zu ermöglichen:
Diese Überladungen nehmen an der Überladungsauflösung teil, nur wenn InputIt LegacyInputIterator erfüllt, Alloc Allocator erfüllt und Comp Allocator nicht erfüllt.
Hinweis: Das Ausmaß, in dem die Bibliothek feststellt, dass ein Typ LegacyInputIterator nicht erfüllt, ist undefiniert, außer dass ganzzahlige Typen als Input-Iteratoren nicht qualifiziert sind. Ebenso ist das Ausmaß, in dem die Bibliothek feststellt, dass ein Typ Allocator nicht erfüllt, undefiniert, außer dass als Minimum der Mitgliedstyp Alloc::value_type existieren muss und der Ausdruck std::declval<Alloc&>().allocate(std::size_t{}) gut geformt sein muss, wenn er als nicht ausgewerteter Operand behandelt wird.
[bearbeiten] Beispiel
| Dieser Abschnitt ist unvollständig Grund: kein Beispiel |