The ordered pair data structure. More...
#include "../defs.h"
#include "../../third-party/loki/TypeTraits.h"
#include "Typelist.h"
#include "Sequence.h"
#include <algorithm>
#include <utility>
Go to the source code of this file.
Classes | |
class | OrderedPair< T > |
OrderedPair holds two objects of the same arbitrary type. More... | |
Functions | |
template<typename T > | |
OrderedPair< T > | makeOrderedPair (const T &x, const T &y) |
A convenience wrapper for creating a OrderedPair. |
The ordered pair data structure.
OrderedPair<T> makeOrderedPair | ( | const T & | x, | |
const T & | y | |||
) | [inline] |
A convenience wrapper for creating a OrderedPair.
x | The first object. | |
y | The second object. |