Namespaces
Variants
Views
Actions

Difference between revisions of "Template:cpp/container/dsc const reference"

From cppreference.com
(Simplify: Allocator::const_reference is required to be const value_type& in C++98. See C++98 [lib.allocator.requirements]/Table 32.)
m (Fix: +const_)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{#switch:{{{1|}}}
 
{{#switch:{{{1|}}}
| stack
+
|stack
| queue
+
|queue
| priority_queue = {{dsc | {{tt|const_reference}} | {{c|Container::const_reference}} }}
+
|priority_queue={{dsc|{{tt|const_reference}}|{{tt|Container::const_reference}}}}
| vector_bool = {{dsc | {{tt|const_reference}} | {{c|bool}} }}
+
|flat_map
| {{dsc | {{tt|const_reference}} | {{c|const value_type&}} }}
+
|flat_multimap={{dsc|{{tt|const_reference}}|{{c/core|std::pair<const key_type&, const mapped_type&>}}}}
 +
|vector_bool={{dsc|{{tt|const_reference}}|{{c/core|bool}}}}
 +
|{{dsc|{{tt|const_reference}}|{{c/core|const value_type&}}}}
 
}}
 
}}

Latest revision as of 13:43, 25 December 2023

|- class="t-dsc" | const_reference | const value_type& |-