utility Namespace Reference


Classes

struct  triple
 triple holds three objects of arbitrary type. More...

Functions

template<class _T1, class _T2, class _T3>
bool operator== (const triple< _T1, _T2, _T3 > &__x, const triple< _T1, _T2, _T3 > &__y)
 Two triples of the same type are equal iff their members are equal.
template<class _T1, class _T2, class _T3>
bool operator< (const triple< _T1, _T2, _T3 > &__x, const triple< _T1, _T2, _T3 > &__y)
 <http://gcc.gnu.org/onlinedocs/libstdc++/20_util/howto.html#triplelt>
template<class _T1, class _T2, class _T3>
bool operator!= (const triple< _T1, _T2, _T3 > &__x, const triple< _T1, _T2, _T3 > &__y)
 Uses operator== to find the result.
template<class _T1, class _T2, class _T3>
bool operator> (const triple< _T1, _T2, _T3 > &__x, const triple< _T1, _T2, _T3 > &__y)
 Uses operator< to find the result.
template<class _T1, class _T2, class _T3>
bool operator<= (const triple< _T1, _T2, _T3 > &__x, const triple< _T1, _T2, _T3 > &__y)
 Uses operator< to find the result.
template<class _T1, class _T2, class _T3>
bool operator>= (const triple< _T1, _T2, _T3 > &__x, const triple< _T1, _T2, _T3 > &__y)
 Uses operator< to find the result.
template<class _T1, class _T2, class _T3>
triple< _T1, _T2, _T3 > make_triple (const _T1 &__x, const _T2 &__y, const _T3 &__z)
 A convenience wrapper for creating a triple from three objects.


Function Documentation

template<class _T1, class _T2, class _T3>
bool utility::operator== ( const triple< _T1, _T2, _T3 > &  __x,
const triple< _T1, _T2, _T3 > &  __y 
) [inline]

Two triples of the same type are equal iff their members are equal.

Definition at line 51 of file triple.h.

References utility::triple< _T1, _T2, _T3 >::first, utility::triple< _T1, _T2, _T3 >::second, and utility::triple< _T1, _T2, _T3 >::third.

template<class _T1, class _T2, class _T3>
bool utility::operator< ( const triple< _T1, _T2, _T3 > &  __x,
const triple< _T1, _T2, _T3 > &  __y 
) [inline]

<http://gcc.gnu.org/onlinedocs/libstdc++/20_util/howto.html#triplelt>

Definition at line 58 of file triple.h.

template<class _T1, class _T2, class _T3>
bool utility::operator!= ( const triple< _T1, _T2, _T3 > &  __x,
const triple< _T1, _T2, _T3 > &  __y 
) [inline]

Uses operator== to find the result.

Definition at line 67 of file triple.h.

template<class _T1, class _T2, class _T3>
bool utility::operator> ( const triple< _T1, _T2, _T3 > &  __x,
const triple< _T1, _T2, _T3 > &  __y 
) [inline]

Uses operator< to find the result.

Definition at line 73 of file triple.h.

template<class _T1, class _T2, class _T3>
bool utility::operator<= ( const triple< _T1, _T2, _T3 > &  __x,
const triple< _T1, _T2, _T3 > &  __y 
) [inline]

Uses operator< to find the result.

Definition at line 79 of file triple.h.

template<class _T1, class _T2, class _T3>
bool utility::operator>= ( const triple< _T1, _T2, _T3 > &  __x,
const triple< _T1, _T2, _T3 > &  __y 
) [inline]

Uses operator< to find the result.

Definition at line 85 of file triple.h.

template<class _T1, class _T2, class _T3>
triple<_T1, _T2, _T3> utility::make_triple ( const _T1 &  __x,
const _T2 &  __y,
const _T3 &  __z 
) [inline]

A convenience wrapper for creating a triple from three objects.

Parameters:
x The first object.
y The second object.
z The third object.
Returns:
A newly-constructed triple<> object of the appropriate type.
The standard requires that the objects be passed by reference-to-const, but LWG issue #181 says they should be passed by const value. We follow the LWG by default.

Definition at line 105 of file triple.h.


Generated on Fri Oct 26 13:35:18 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7