SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Pair.hpp File Reference
#include <utility>

Go to the source code of this file.

Classes

class  Sleak::Pair< T1, T2 >
 A simple container for storing two values as a pair. More...

Namespaces

namespace  Sleak
 Root namespace for everything the engine exposes.

Functions

template<typename T1, typename T2>
Pair< T1, T2 > Sleak::makePair (T1 &&first, T2 &&second)
 Creates a Pair object with the given values.
template<typename T1, typename T2>
bool Sleak::operator!= (const Pair< T1, T2 > &lhs, const Pair< T1, T2 > &rhs)
template<typename T1, typename T2>
bool Sleak::operator< (const Pair< T1, T2 > &lhs, const Pair< T1, T2 > &rhs)
template<typename T1, typename T2>
bool Sleak::operator<= (const Pair< T1, T2 > &lhs, const Pair< T1, T2 > &rhs)
template<typename T1, typename T2>
bool Sleak::operator== (const Pair< T1, T2 > &lhs, const Pair< T1, T2 > &rhs)
template<typename T1, typename T2>
bool Sleak::operator> (const Pair< T1, T2 > &lhs, const Pair< T1, T2 > &rhs)
template<typename T1, typename T2>
bool Sleak::operator>= (const Pair< T1, T2 > &lhs, const Pair< T1, T2 > &rhs)