MorphoGraphX
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
mgx::util::refpair< T, U > Class Template Reference

Class used to hold references for the util::tie() function. More...

#include <Tie.hpp>

Public Types

typedef T first_type
 
typedef U second_type
 

Public Member Functions

 refpair (T &x, U &y)
 Construct a pair of references to x and y.
 
 refpair (refpair const &rp)
 Construct a copy.
 
refpairoperator= (std::pair< T, U > const &p)
 Assign the values of p to the references in this pair.
 

Public Attributes

T & first
 The first member of the pair.
 
U & second
 The second member of the pair.
 

Detailed Description

template<typename T, typename U>
class mgx::util::refpair< T, U >

Class used to hold references for the util::tie() function.


The documentation for this class was generated from the following file: