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 develop branch, built from commit 5e05bc78d7.

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 data members
  static constexpr bool value;


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