Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6149: as_literal used on string container making unnecessary expensive copy
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-20 09:28:21
#6149: as_literal used on string container making unnecessary expensive copy
-------------------------------------------------+--------------------------
Reporter: Roman Komary <RomanKomary@â¦> | Owner: neilgroves
Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------+--------------------------
Comment (by Michael Burr <michael.burr@â¦>):
See duplicate bug #6305 for a patch that has what I think is a simpler
solution. Just have the {{{range_detail::make_range()}}} 'catch all'
template function take a {{{T const&}}} parameter instead of a simple
value parameter to avoid the copy.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6149#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:08 UTC