mln::util::couple< T, U > Class Template Reference
[Utilities]
Definition of a
couple.
More...
#include <couple.hh>
List of all members.
|
Public Member Functions |
void | change_both (const T &first, const U &second) |
| Replace both members of the couple by val.
|
void | change_first (const T &val) |
| Replace the first member of the couple by val.
|
void | change_second (const U &val) |
| Replace the second member of the couple by val.
|
|
const T & | first () const |
| Get the first member of the couple.
|
|
const U & | second () const |
| Get the second member of the couple.
|
Detailed Description
template<typename T, typename U>
class mln::util::couple< T, U >
Definition of a
couple.
Definition at line 48 of file util/couple.hh.
Member Function Documentation
template<typename T, typename U>
void mln::util::couple< T, U >::change_both |
( |
const T & |
first, |
|
|
const U & |
second | |
|
) |
| | [inline] |
template<typename T, typename U>
template<typename T, typename U>
template<typename T, typename U>
template<typename T, typename U>