[Boost-bugs] [Boost C++ Libraries] #5715: sequencing with comma does not work for boost::phoenix::bind

Subject: [Boost-bugs] [Boost C++ Libraries] #5715: sequencing with comma does not work for boost::phoenix::bind
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-19 12:31:07


#5715: sequencing with comma does not work for boost::phoenix::bind
---------------------------------------------+------------------------------
 Reporter: Gennady Proskurin <gpr@…> | Owner: theller
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: phoenix
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
---------------------------------------------+------------------------------
 Sample program attached. Correct behaviour, I think, is to call both
 functions, f() and g(). In new phoenix, only last function g() is called.

 Using old phoenix from boost/spirit:
 c++ func2.cc
 Phoenix version: 2000
 f
 g

 Using new phoenix:
 c++ func2.cc -D USE_NEW_PHOENIX
 ./a.out
 Phoenix version: 3000
 g

 It seems that comma operator is not overloaded for boost::phoenix::bind
 (or something like that).

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