[Boost-bugs] [Boost C++ Libraries] #1641: Document use of ref() to avoid copying function objects

Subject: [Boost-bugs] [Boost C++ Libraries] #1641: Document use of ref() to avoid copying function objects
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-02-18 23:51:56


#1641: Document use of ref() to avoid copying function objects
--------------------------+-------------------------------------------------
 Reporter: dave | Owner: pdimov
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: bind
  Version: Boost 1.34.1 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 bind( ref(f), ... ) doesn't cause f to be copied, but that is not explicit
 in the docs. Passing a heaviweight function object to for_each is a prime
 use-case. See Boost.Accumulators.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1641>
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:49:57 UTC