boost::unwrap_reference — Find the type in a reference_wrapper.
reference_wrapper
// In header: <boost/ref.hpp> template<typename T> class unwrap_reference { public: // types typedef unspecified type; };
The typedef type is T::type if T is a reference_wrapper, T otherwise.
type
T::type
T