Definition of a couple. More...
#include <couple.hh>

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.   | |
Definition of a couple.
Definition at line 48 of file util/couple.hh.
| void mln::util::couple< T, U >::change_both | ( | const T & | first, | |
| const U & | second | |||
| ) |  [inline] | 
        
Replace both members of the couple by val.
Definition at line 182 of file util/couple.hh.
| void mln::util::couple< T, U >::change_first | ( | const T & | val | ) |  [inline] | 
        
Replace the first member of the couple by val.
Definition at line 166 of file util/couple.hh.
| void mln::util::couple< T, U >::change_second | ( | const U & | val | ) |  [inline] | 
        
Replace the second member of the couple by val.
Definition at line 174 of file util/couple.hh.
| const T & mln::util::couple< T, U >::first | ( | ) |  const [inline] | 
        
Get the first member of the couple.
Definition at line 134 of file util/couple.hh.
| const U & mln::util::couple< T, U >::second | ( | ) |  const [inline] | 
        
Get the second member of the couple.
Definition at line 150 of file util/couple.hh.
 1.7.1