OrderedPair.h File Reference

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.

Detailed Description

The ordered pair data structure.


Function Documentation

template<typename T >
OrderedPair<T> makeOrderedPair ( const T &  x,
const T &  y 
) [inline]

A convenience wrapper for creating a OrderedPair.

Parameters:
x The first object.
y The second object.
Returns:
A newly-constructed OrderedPair<> object of the appropriate type.
Generated on Thu Jun 30 02:14:51 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3