Subject: [Boost-bugs] [Boost C++ Libraries] #4262: Inconsistency between boost::algorithm::trim_copy_if and trim_copy?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-26 20:56:58
#4262: Inconsistency between boost::algorithm::trim_copy_if and trim_copy?
------------------------------------+---------------------------------------
Reporter: mstefanro | Owner: pavol_droba
Type: Patches | Status: new
Milestone: Boost 1.43.0 | Component: string_algo
Version: Boost 1.44.0 | Severity: Cosmetic
Keywords: trim_copy_if trim_copy |
------------------------------------+---------------------------------------
Is there any reason why boost::algorithm::trim_copy_if supports an
overloaded version which takes an output iterator as the first parameter,
whereas boost::algorithm::trim_copy does not? Note that this is also the
case for trim_copy_left and trim_copy_right.
Attached is a quick patch for boost\algorithm\string\trim.hpp to fix this
issue.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4262> 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:03 UTC