Boost C++ Libraries: Ticket #4262: Inconsistency between boost::algorithm::trim_copy_if and trim_copy? https://svn.boost.org/trac10/ticket/4262 <p> 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. </p> <p> Attached is a quick patch for boost\algorithm\string\trim.hpp to fix this issue. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4262 Trac 1.4.3 Pavol Droba Wed, 26 May 2010 21:11:22 GMT <link>https://svn.boost.org/trac10/ticket/4262#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4262#comment:1</guid> <description> <p> Hi, The reason is purely cosmetic. The list of possible function combination is very large, so some common sense needs to be applied to filter out the really useful ones. The library is crowded already. </p> <p> Therefore the variant that you mention was left out. It is so easy to achieve (just provide boost::is_space() as last argument) and I dare to say that it is not used that frequently to have this variant in the boost directly. </p> <p> Regards, Pavol </p> </description> <category>Ticket</category> </item> <item> <dc:creator>mstefanro</dc:creator> <pubDate>Wed, 26 May 2010 21:34:22 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4262#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4262#comment:2</guid> <description> <p> Thanks for the quick reply, and sorry for the double post. </p> <p> Yours, </p> <blockquote> <p> Stefan </p> </blockquote> </description> <category>Ticket</category> </item> <item> <dc:creator>Pavol Droba</dc:creator> <pubDate>Wed, 26 May 2010 21:35:41 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4262#comment:3 https://svn.boost.org/trac10/ticket/4262#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> Ticket