std::pair
From cppreference.com
Template:cpp/utility/pair/sidebar
Defined in header <utility>
|
||
template< class T1, |
||
std::pair
is a struct template that provides a way to store two heterogeneous objects as a single unit.
Member types
Template:tdcl list begin Template:tdcl list hitem Template:tdcl list item Template:tdcl list item Template:tdcl list end
Template:tdcl list begin Template:tdcl list h1 Template:tdcl list hitem Template:tdcl list item Template:tdcl list item Template:tdcl list end
Non-member functions
creates a pair object of type, defined by the argument types (function template) |