L4Re - L4 Runtime Environment
cxx::Pair< First, Second > Struct Template Reference

Pair of two values. More...

+ Collaboration diagram for cxx::Pair< First, Second >:

Public Types

typedef First First_type
 Type of first value.
 
typedef Second Second_type
 Type of second value.
 

Public Member Functions

template<typename A1 , typename A2 >
 Pair (A1 &&first, A2 &&second)
 Create a pair from the two values. More...
 
 Pair ()
 Default construction.
 

Data Fields

First first
 First value.
 
Second second
 Second value.
 

Detailed Description

template<typename First, typename Second>
struct cxx::Pair< First, Second >

Pair of two values.

Standard container for a pair of values.

Parameters
FirstType of the first value.
SecondType of the second value.

Definition at line 36 of file pair.

Constructor & Destructor Documentation

◆ Pair()

template<typename First , typename Second >
template<typename A1 , typename A2 >
cxx::Pair< First, Second >::Pair ( A1 &&  first,
A2 &&  second 
)
inline

Create a pair from the two values.

Parameters
firstThe first value.
secondThe second value.

Definition at line 54 of file pair.


The documentation for this struct was generated from the following file: