Re: [Boost-bugs] [Boost C++ Libraries] #4967: apply_visitor_delayed_t 's operator() is not const correct

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4967: apply_visitor_delayed_t 's operator() is not const correct
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-12-08 17:28:45


#4967: apply_visitor_delayed_t 's operator() is not const correct
-----------------------------------+----------------------------------------
  Reporter: zhuo.qiang@… | Owner: ebf
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: variant
   Version: Boost 1.45.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------

Comment (by steven_watanabe):

 Simply making the overloads const is not harmless, because it will break
 code that uses function objects that aren't const. The right way is to
 add const overloads.

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