Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template unwrap_reference

boost::unwrap_reference — Find the type in a reference_wrapper.

Synopsis

// In header: <boost/core/ref.hpp>

template<typename T> 
struct unwrap_reference {
  // types
  typedef T type;
};

Description

The typedef type is T::type if T is a reference_wrapper, T otherwise.


PrevUpHomeNext