Re: [Boost-bugs] [Boost C++ Libraries] #7667: boost::adaptors::transformed followed by boost::adaptors::filtered calls function twice

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7667: boost::adaptors::transformed followed by boost::adaptors::filtered calls function twice
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-03 01:58:16


#7667: boost::adaptors::transformed followed by boost::adaptors::filtered calls
function twice
--------------------------------------+------------------------
  Reporter: bruno@… | Owner: neilgroves
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: range
   Version: Boost Development Trunk | Severity: Problem
Resolution: invalid | Keywords:
--------------------------------------+------------------------
Changes (by neilgroves):

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

Comment:

 The function is called upon dereference. This is by design. If often
 provides optimal performance. When it does not there are many more cases
 of expensive repetitive dereference than just this, hence a general
 caching solution is more capable and more broadly applicable.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7667#comment:1>
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