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 regex_traits

boost::xpressive::regex_traits

Synopsis

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

template<typename Char, typename Impl> 
struct regex_traits {
  // types
  typedef Impl::locale_type locale_type;

  // construct/copy/destruct
  regex_traits();
  explicit regex_traits(locale_type const &);
};

Description

Thin wrapper around the default regex_traits implementation, either cpp_regex_traits or c_regex_traits

regex_traits public construct/copy/destruct

  1. regex_traits();
  2. explicit regex_traits(locale_type const & loc);

PrevUpHomeNext