728x90
728x170
*[header][other] utility
<utility>
Utility components
- Pairs: objects that can hold two values of different types: pair, make_pair, piecewise_construct, piecewise_construct_t.
- Generic relational operators: Standard definitions for the relational operators
!=
,>
,<=
and>=
under a specific namespace: rel_ops. - Rvalue casts (C++11): Allow the generation of rvalue references: forward, move, move_if_noexcept, declval.
- Generic swap function: definition used by default by the components of the standard library for all types that do not provide their own overload: swap.
Functions
- swap
- Exchange values of two objects (function template )
- make_pair
- Construct pair object (function template )
- forward
- Forward argument (function template )
- move
- Move as rvalue (function template )
- move_if_noexcept
- Move if noexcept (function template )
- declval
- Declaration value (function template )
Types
- pair
- Pair of values (class template )
- piecewise_construct_t
- Piecewise construct type (type )
Constants
- piecewise_construct
- Piecewise construct constant (constant )
Namespaces
- rel_ops
- Relational Operators (namespace )
내용 출처 : http://www.cplusplus.com/reference/utility/
728x90
그리드형(광고전용)
'Programming > C++' 카테고리의 다른 글
[header][Multi-threading] future (C++11) (0) | 2017.11.08 |
---|---|
[header][Multi-threading] condition_variable (C++11) (0) | 2017.11.08 |
[header][Multi-threading] atomic (C++11) (0) | 2017.11.08 |
[header][other] valarray (0) | 2017.11.08 |
[header][other] type_traits (C++11) (0) | 2017.11.08 |
[header][other] typeinfo (0) | 2017.11.08 |
[header][other] typeindex (C++11) (0) | 2017.11.08 |
[header][other] tuple (C++11) (0) | 2017.11.08 |