U3D
Open-source, cross-platform 2D and 3D game engine built in C++
|
Pair template class. More...
#include </var/dev/u3d/stable/Source/Urho3D/Container/Pair.h>
Public Member Functions | |
Pair ()=default | |
Construct undefined. | |
Pair (const T &first, const U &second) | |
Construct with values. | |
bool | operator== (const Pair< T, U > &rhs) const |
Test for equality with another pair. | |
bool | operator!= (const Pair< T, U > &rhs) const |
Test for inequality with another pair. | |
bool | operator< (const Pair< T, U > &rhs) const |
Test for less than with another pair. | |
bool | operator> (const Pair< T, U > &rhs) const |
Test for greater than with another pair. | |
unsigned | ToHash () const |
Return hash value for HashSet & HashMap. | |
Public Attributes | |
T | first_ |
First value. | |
U | second_ |
Second value. | |
Pair template class.