|
3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
|
A pair of values. More...
#include <Pair.hpp>
Public Types | |
| using | FirstType = T1 |
| using | SecondType = T2 |
Public Member Functions | |
| constexpr | Pair ()=default |
| Constructs an pair with default-initialized values. | |
| constexpr | Pair (const T1 &first, const T2 &second) |
| Constructs a pair with the specified values. | |
| constexpr | Pair (T1 &&first, T2 &&second) |
| Constructs a pair that takes ownership of the specified values. | |
| constexpr auto | operator<=> (const Pair &) const =default |
Public Attributes | |
| T1 | First |
| The first value of the pair. | |
| T2 | Second |
| The second value of the pair. | |
A pair of values.
| T1 | Type of the first value |
| T2 | Type of the second value |
| using Engine3DRadSpace::Pair< T1, T2 >::FirstType = T1 |
| using Engine3DRadSpace::Pair< T1, T2 >::SecondType = T2 |
|
constexprdefault |
Constructs an pair with default-initialized values.
|
inlineconstexpr |
Constructs a pair with the specified values.
| first | First value of the pair. |
| second | Second value of the pair. |
|
inlineconstexpr |
Constructs a pair that takes ownership of the specified values.
| first | First value of the pair. |
| second | Second value of the pair. |
|
constexprdefault |
| T1 Engine3DRadSpace::Pair< T1, T2 >::First |
The first value of the pair.
| T2 Engine3DRadSpace::Pair< T1, T2 >::Second |
The second value of the pair.