Re: [Boost-bugs] [Boost C++ Libraries] #5824: Block statement docs do not mention necessary header file

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5824: Block statement docs do not mention necessary header file
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-31 22:11:17


#5824: Block statement docs do not mention necessary header file
-------------------------------+---------------------
  Reporter: gredner@… | Owner: theller
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: phoenix
   Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------

Comment (by John Fletcher <J.P.Fletcher@…>):

 The problem is caused by the inclusion of a comma and therefore of a need
 to handle the comma correctly.

 As with 5715 the problem is that the user needs to include a header which
 is not obvious. The sensible way to deal with this is to take away that
 need by putting the extra header into something which is going to be
 included anyway given the nature of the user's problem. This is a little
 tricky as there is no obvious place to put an extra header which will get
 naturally included by a user. I have gone for the following.

 Put #include <boost/phoenix/scope/local_variable.hpp> into BOTH
 boost/phoenix/operator.hpp AND boost/phoenix/core.hpp

 Test bug5824 has been included in the test suite.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5824#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:15 UTC