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

Global inf

boost::xpressive::inf — For infinite repetition of a sub-expression.

Synopsis

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

unsigned int const inf;

Description

Magic value used with the repeat<>() function template to specify an unbounded repeat. Use as: repeat<17, inf>('a'). The equivalent in perl is /a{17,}/.


PrevUpHomeNext