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 for the latest Boost documentation.
PrevUpHomeNext

Function template by_ref

boost::xpressive::by_ref — Embed a regex object by reference.

Synopsis

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


template<typename BidiIter> 
  proto::terminal< reference_wrapper< basic_regex< BidiIter >const > >::type const 
  by_ref(basic_regex< BidiIter > const & rex);

Description

Parameters:

rex

The basic_regex object to embed by reference.


PrevUpHomeNext