![]() |
PIP 5.5.3
Platform-Independent Primitives
|
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. | |
Class template that provides a way to store two heterogeneous objects as a single unit.