This is a simple helper type that forms a pair of two values. It is useful when the boxing of such a pair is wanted. The benefit over using std::pair
is, that this struct does not provide any extras but the plain public values, and thus it is trivially copyable in the case that both types are.
T1 | The type of the first value. |
T2 | The type of the second first value. |
Definition at line 756 of file boxing/placeholder.inl.
Public Field Index: | |
T1 | First |
The first value. | |
T2 | Second |
The second value. | |
T1 alib::boxing::Pair< T1, T2 >::First |
The first value.
Definition at line 757 of file boxing/placeholder.inl.
T2 alib::boxing::Pair< T1, T2 >::Second |
The second value.
Definition at line 758 of file boxing/placeholder.inl.