Subject: [Boost-bugs] [Boost C++ Libraries] #10548: Spirit.Lex does not support scoped enum
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-27 01:55:54
#10548: Spirit.Lex does not support scoped enum
------------------------------+---------------------
Reporter: mattia.penati@⦠| Owner: djowel
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost 1.55.0 | Severity: Problem
Keywords: |
------------------------------+---------------------
Currently the class boost::spirit::lex::lexer store the variable
next_token_id as a std::size_t, but the scoped enumeration types (c++11)
are not implicitly convertible to integral types. This generetas a lot of
errors, I have not a deep knowledge of Spirit.Lex source code, but
probably it is necessary to change the code not only in the lexer class,
but also in other points. Sorry, but I am not able to patch the code.
I attach a very simple example which shows this issue.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10548> 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:17 UTC