[Boost-bugs] [Boost C++ Libraries] #5780: Boost.Fusion adapted class boost::rational<long> causes compile errors in Boost.Spirit.Karma rules

Subject: [Boost-bugs] [Boost C++ Libraries] #5780: Boost.Fusion adapted class boost::rational<long> causes compile errors in Boost.Spirit.Karma rules
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-13 14:01:13


#5780: Boost.Fusion adapted class boost::rational<long> causes compile errors in
Boost.Spirit.Karma rules
--------------------------------------------------------------+-------------
 Reporter: Torsten Maehne <Torsten.Maehne@…> | Owner: djowel
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: BOOST_FUSION_ADAPT_CLASS, BOOST_FUSION_ADAPT_ADT |
--------------------------------------------------------------+-------------
 The attached test case compiled and worked correctly until Boost 1.44
 using BOOST_FUSION_ADAPT_CLASS to adapt boost::rational<long> to a Fusion
 sequence used in a Karma output rule. With Boost 1.45,
 BOOST_FUSION_ADAPT_CLASS has been replaced with BOOST_FUSION_ADAPT_ADT.
 According to Boost.Spirit documentation (cf. Karma - Writing Generators ->
 Tutorials -> Complex - Fully Integrated), the semantics haven't changed
 despite the name change:

 http://www.boost.org/doc/libs/1_47_0/libs/spirit/doc/html/spirit/karma/tutorials/karma_adapted_complex.html

 (The referred documentation page contains a small error, as it still
 mentions BOOST_FUSION_ADAPT_CLASS instead of BOOST_FUSION_ADAPT_ADT.)

 The test case causes with Boost 1.45 till Boost trunk compile errors. The
 compiler output log is attached.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5780>
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