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 a snapshot of the master branch, built from commit 8ac3460dd5.

Struct template is_reference_wrapper

boost::is_reference_wrapper — Determine if a type T is an instantiation of reference_wrapper.


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

template<typename T> 
struct is_reference_wrapper {

  // public member functions
   BOOST_STATIC_CONSTANT(bool, value = false);


The value static constant will be true if the type T is a specialization of reference_wrapper.

is_reference_wrapper public member functions

  1.  BOOST_STATIC_CONSTANT(bool, value = false);