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

Pair template class. More...

#include <Urho3D/Container/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 value.
 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:
  • Source/Urho3D/Container/Pair.h