Triplet< T1, T2, T3 > Struct Template Reference

Triplet holds three objects of arbitrary type. More...

#include <Triplet.h>

List of all members.

Public Types

typedef T1 first_type
 The first bound type.
typedef T2 second_type
 The second bound type.
typedef T3 third_type
 The third bound type.

Public Member Functions

 Triplet ()
 Default constructor.
 Triplet (const first_type &a, const second_type &b, const third_type &c)
 Construct by copying the elements.
template<typename U1 , typename U2 , typename U3 >
 Triplet (const Triplet< U1, U2, U3 > &x)
 Construct from a triplet of different types.

Public Attributes

first_type first
 A copy of the first object.
second_type second
 A copy of the second object.
third_type third
 A copy of the third object.

Detailed Description

template<typename T1, typename T2, typename T3>
struct Triplet< T1, T2, T3 >

Triplet holds three objects of arbitrary type.


Constructor & Destructor Documentation

template<typename T1, typename T2, typename T3>
Triplet< T1, T2, T3 >::Triplet (  )  [inline]

Default constructor.

Create the elements using their default constructors.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 30 02:14:52 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3