Boost logo

Boost :

Subject: Re: [boost] [review] Convert library
From: Vladimir Batov (vb.mail.247_at_[hidden])
Date: 2014-05-26 05:47:49

Vladimir Batov wrote
> Jeroen Habraken wrote
>> I may have time at the end of the week, but no promises unfortunately.
> OK, the old man has to do it all by himself. :-) How do I download the
> latest/greatest of "coerce" without copying individual files from the
> sandbox?

Or I'll just run raw Spirit.Qi example from

#include <string>
#include <boost/spirit/include/qi_parse.hpp>
#include <boost/spirit/include/qi_numeric.hpp>
bool String2Int(const std::string& str, int& result)
    std::string::const_iterator i = str.begin();
    if (!boost::spirit::qi::parse(i, str.end(), boost::spirit::int_,
        return false;
    return i == str.end(); // ensure the whole string was parsed

View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at