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 an old version of boost. Click here for the latest version's documentation home page.
Class template unwrap_reference
c++boost.gif (8819 bytes)HomeLibrariesPeopleFAQMore

Class template unwrap_reference

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

Synopsis

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

Description

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