Re: [Boost-bugs] [Boost C++ Libraries] #10193: [Spirit.qi] real_parser is too strict with the exponent part

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10193: [Spirit.qi] real_parser is too strict with the exponent part
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-24 01:03:37


#10193: [Spirit.qi] real_parser is too strict with the exponent part
-------------------------------+---------------------
  Reporter: anonymous | Owner: djowel
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: spirit
   Version: Boost 1.55.0 | Severity: Problem
Resolution: invalid | Keywords:
-------------------------------+---------------------
Changes (by djowel):

 * status: new => closed
 * resolution: => invalid

Comment:

 No, that is incorrect. '4e' is a valid real number even without an integer
 following it. The grammar in the docs is correct. No exceptions are
 thrown. It parses '4e' just fine. If that's not you want, then you can
 customize the real number parser.

 See http://en.cppreference.com/w/cpp/language/floating_literal

 If you do not agree with this, please start a discussion in the Spirit
 mailing list. I'm closing this one as invalid.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10193#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC