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 to view this page for the latest version.
PrevUpHomeNext

Struct unwrap_reference

boost::xpressive::op::unwrap_reference

Synopsis

// In header: <boost/xpressive/regex_actions.hpp>


struct unwrap_reference {
  // member classes/structs/unions
  template<typename Sig> 
  struct result {
  };
  template<typename This, typename Ref> 
  struct result<This(Ref &)> {
    // types
    typedef boost::unwrap_reference< Ref >::type & type;
  };
  template<typename This, typename Ref> 
  struct result<This(Ref)> {
    // types
    typedef boost::unwrap_reference< Ref >::type & type;
  };

  // public member functions
  template<typename T> T & operator()(boost::reference_wrapper< T >) const;
};

Description

unwrap_reference public member functions

  1. template<typename T> T & operator()(boost::reference_wrapper< T > r) const;

PrevUpHomeNext