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 regex_formatter

boost::algorithm::regex_formatter — Regex formatter.

Synopsis

// In header: <boost/algorithm/string/regex_find_format.hpp>


template<typename CharT, typename TraitsT, typename AllocT> 
  unspecified regex_formatter(const std::basic_string< CharT, TraitsT, AllocT > & Format, 
                              match_flag_type Flags = format_default);

Description

Construct the regex_formatter. Regex formatter uses the regex engine to format a match found by the regex_finder. This formatted it designed to closely cooperate with regex_finder.

Parameters:

Flags

Format flags

Format

Regex format definition

Returns:

An instance of the regex_formatter functor


PrevUpHomeNext