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 21:18:31


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

  * keywords: transform _value const function returning array => transform
               _value _child_c const function returning
               array
  * status: closed => reopened
  * resolution: fixed =>
  * milestone: Boost 1.40.0 => Boost 1.41.0

Comment:

 Thanks Eric. You applied the fix on {{{_value}}}, but I think
 {{{_child_c}}} needs the same one, so that:
 {{{
 assert_not_matches<
     if_<is_same<_child_c<0>, int>()> >( lit("hello") );
 }}}
 also passes. I attached a patch which does that.

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