Boost C++ Libraries 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.
Class template unwrap_reference
c++boost.gif (8819 bytes)HomeLibrariesPeopleFAQMore

Class template unwrap_reference

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


template<typename T> 
class unwrap_reference {
  // types
  typedef unspecified T;


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

Last revised: , at GMTCopyright © 1999, 2000 Jaakko Järvi
Copyright © 2001, 2002 Peter Dimov
Copyright © 2002 David Abrahams