Boost logo

Boost :

Subject: Re: [boost] [Bulk] [spirit] [qi] What's the differences between qi::uint_parser<int>() and qi::uint_parser<unsigned int>()?
From: Jeff Trull (edaskel_at_[hidden])
Date: 2016-12-13 09:05:08


On Thu, Dec 1, 2016 at 1:46 AM, Han Wang <wanghan02_at_[hidden]> wrote:

> Both of them are the same as qi::uint_(parsing integers from 0 to
> UINT_MAX). For qi::uint_parser<int>, the required maximum value of numeric
> base type int is not used at all.
>

I'm not sure, but why use uint_parser<int> instead of int_parser<int>?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk