PIP 5.5.3
Platform-Independent Primitives
Public Member Functions | Public Attributes | List of all members
PIPair< Type0, Type1 > Class Template Reference

Class template that provides a way to store two heterogeneous objects as a single unit. More...

#include <pipair.h>

Public Member Functions

 PIPair ()
 Constructs an empty PIPair.
 
 PIPair (std::tuple< Type0, Type1 > tuple)
 Constructs PIPair from std::tuple.
 
 PIPair (std::pair< Type0, Type1 > pair)
 Constructs PIPair from std::pair.
 
 PIPair (const Type0 &value0, const Type1 &value1)
 Constructs PIPair from values value0 and value1.
 
 PIPair (Type0 &&value0, Type1 &&value1)
 Move constructor.
 

Public Attributes

Type0 first
 First element.
 
Type1 second
 Second element.
 

Detailed Description

template<typename Type0, typename Type1>
class PIPair< Type0, Type1 >

Class template that provides a way to store two heterogeneous objects as a single unit.

See also
PIMap