Urho3D::Pair< T, U > Class Template Reference

Pair template class. More...

#include <Pair.h>

Public Member Functions

 Pair ()
 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

first_
 First value.
 
second_
 Second value.
 

Detailed Description

template<class T, class U>
class Urho3D::Pair< T, U >

Pair template class.


The documentation for this class was generated from the following file:
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Container/Pair.h