|
#include <Triple.hh>
|
typedef First | first_type |
|
typedef Second | second_type |
|
typedef Third | third_type |
|
|
| Triple () |
|
| Triple (const First &f, const Second &s, const Third &t) |
|
template<class F2 , class S2 , class T2 > |
| Triple (const Triple< F2, S2, T2 > &r) |
|
template<class F2 , class S2 , class T2 > |
Triple & | operator= (const Triple< F2, S2, T2 > &r) |
|
bool | operator== (const Triple &r) const |
|
bool | operator!= (const Triple &r) const |
|
bool | operator< (const Triple &r) const |
|
bool | operator> (const Triple &r) const |
|
|
First | first |
| First element of the triple.
|
|
Second | second |
| Second element of the triple.
|
|
Third | third |
| Third element of the triple.
|
|
template<class First, class Second, class Third>
struct npstat::Triple< First, Second, Third >
A simple analogue of std::pair with three components
◆ Triple() [1/3]
template<class First , class Second , class Third >
Default constructor of the triple calls default constructors of each component type
◆ Triple() [2/3]
template<class First , class Second , class Third >
npstat::Triple< First, Second, Third >::Triple |
( |
const First & |
f, |
|
|
const Second & |
s, |
|
|
const Third & |
t |
|
) |
| |
|
inline |
Construct a triple by combining three different objects
◆ Triple() [3/3]
template<class First , class Second , class Third >
template<class F2 , class S2 , class T2 >
Converting copy constructor
◆ operator!=()
template<class First , class Second , class Third >
bool npstat::Triple< First, Second, Third >::operator!= |
( |
const Triple< First, Second, Third > & |
r | ) |
const |
|
inline |
Logical negation of operator==
◆ operator<()
template<class First , class Second , class Third >
bool npstat::Triple< First, Second, Third >::operator< |
( |
const Triple< First, Second, Third > & |
r | ) |
const |
|
inline |
Ordering comparison. Initially, first elements are compared. If they are equal, second elements are compared, etc.
◆ operator=()
template<class First , class Second , class Third >
template<class F2 , class S2 , class T2 >
Converting assignment operator
◆ operator==()
template<class First , class Second , class Third >
bool npstat::Triple< First, Second, Third >::operator== |
( |
const Triple< First, Second, Third > & |
r | ) |
const |
|
inline |
The documentation for this struct was generated from the following file:
|