Subject: [Boost-bugs] [Boost C++ Libraries] #6046: Using space in karma rule causes compile error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-21 19:57:45
#6046: Using space in karma rule causes compile error
------------------------------+---------------------------------------------
Reporter: Sergiu Dotenco | Owner: djowel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost 1.47.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
Compiling the following rule using Intel Compiler 12.1.0.233
{{{
using namespace boost::spirit;
karma::rule<std::string::iterator, std::string()> r = ascii::space;
}}}
fails with the error message
{{{
boost/spirit/home/karma/char/char_class.hpp(141): error: class
"boost::spirit::tag::space" has no member "space"
return classify<char_encoding>::is(tag::space(), attr);
}}}
The attached patch fixes the problem.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6046> 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:07 UTC