Re: [Boost-bugs] [Boost C++ Libraries] #3338: proto: const-correctness issue on transforms (array types)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3338: proto: const-correctness issue on transforms (array types)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-09-03 22:31:53


#3338: proto: const-correctness issue on transforms (array types)
---------------------------------------------------+------------------------
  Reporter: François Barel <frabar666@…> | Owner: eric_niebler
      Type: Bugs | Status: closed
 Milestone: Boost 1.41.0 | Component: proto
   Version: Boost Development Trunk | Severity: Problem
Resolution: invalid | Keywords: transform _value _child_c const function returning array
---------------------------------------------------+------------------------
Changes (by eric_niebler):

  * status: reopened => closed
  * resolution: => invalid

Comment:

 No, {{{child_c}}} should not be used to extract a value from a terminal
 expression. Doing so violates {{{child_c}}}'s documented preconditions.
 Use {{{value}}} for that.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3338#comment:3>
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:01 UTC