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 template value

boost::xpressive::value

Synopsis

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

template<typename T> 
struct value :
  public proto::extends< proto::terminal< T >::type, value< T > >
{
  // types
  typedef proto::extends< typename proto::terminal< T >::type, value< T > > base_type;

  // construct/copy/destruct
  value();
  explicit value(T const &);

  // public member functions
  T & get();
  T const & get() const;
};

Description

value public construct/copy/destruct

  1. value();
  2. explicit value(T const & t);

value public member functions

  1. T & get();
  2. T const & get() const;

PrevUpHomeNext