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 a snapshot of the develop branch, built from commit 39393c4727.
PrevUpHomeNext

Struct template uint_parser

boost::parser::uint_parser

Synopsis

// In header: <boost/parser/parser_fwd.hpp>

template<typename T, int Radix = 10, int MinDigits = 1, int MaxDigits = -1, 
         typename Expected = unspecified> 
struct uint_parser {
};

Description

Matches an unsigned number of radix Radix, of at least MinDigits and at most MaxDigits, producing an attribute of type T. Fails on any other input. The parse will also fail if Expected is anything but detail::nope (which it is by default), and the produced attribute is not equal to expected_. Radix must be in [2, 36].


PrevUpHomeNext