Helper class used to access the proxy's accessor. More...
Static Public Member Functions | |
template<typename T , typename D > | |
static proxy< T, D > const & | assignment (proxy< T, D > const &lhs, T const &rhs) |
template<typename T , typename Accessor > | |
static Accessor const & | accessor (proxy< T, Accessor > const &p) |
template<typename T , typename Accessor > | |
static Accessor & | accessor (proxy< T, Accessor > &p) |
template<typename T , typename Accessor > | |
static void | reset (proxy< T, Accessor > &p, proxy< T, Accessor > const &q) |
Since assignment operator of proxy<T> is that of T, this reset method allows us to change what a proxy<T> refers to. Right now, assume proxy itself has no data members, and just calls the assignment operator of the Accessor base class. | |
Helper class used to access the proxy's accessor.