Template Struct my_pair#

Struct Documentation#

template<class _T1, class _T2, class _T3>
struct my_pair#

Public Types

typedef _T1 first_type#

first_type is the first bound type

typedef _T2 second_type#

second_type is the second bound type

typedef _T2 third_type#

second_type is the second bound type

Public Functions

inline my_pair()#

The default constructor creates first and second using their respective default constructors.

inline my_pair(const _T1 &a, const _T2 &b, const _T3 &c)#

Two objects may be passed to a my_pair constructor to be copied.

template<class _U1, class _U2, class _U3>
inline my_pair(const my_pair<_U1, _U2, _U3> &p)#

There is also a templated copy ctor for the my_pair class itself.

Public Members

_T1 addToGraph#

first is a copy of the first object

_T2 DOTOptions#

second is a copy of the second object

_T3 DOTLabel#