22 template <
typename T,
typename U>
struct refpair {
24 typedef U second_type;
66 template <
typename T,
typename U>
inline refpair<T, U> tie(T& x, U& y) {
U & second
The second member of the pair.
Definition: Tie.hpp:50
refpair & operator=(std::pair< T, U > const &p)
Assign the values of p to the references in this pair.
Definition: Tie.hpp:40
T & first
The first member of the pair.
Definition: Tie.hpp:48
refpair(refpair const &rp)
Construct a copy.
Definition: Tie.hpp:33
Class used to hold references for the util::tie() function.
Definition: Tie.hpp:22
refpair(T &x, U &y)
Construct a pair of references to x and y.
Definition: Tie.hpp:27