Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Class template unwrap_reference

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

Synopsis

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

template<typename T> 
class unwrap_reference {
public:
  // types
  typedef unspecified type;
};

Description

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


PrevUpHomeNext