Modify

Opened 7 years ago

Closed 7 years ago

#4263 closed Patches (wontfix)

Inconsistency between boost::trim_copy_if and trim_copy?

Reported by: mstefanro Owned by: pavol_droba
Milestone: Boost 1.43.0 Component: string_algo
Version: Boost 1.44.0 Severity: Cosmetic
Keywords: trim_copy_if trim_copy Cc:

Description

Is there any reason why boost::trim_copy_if supports an overloaded version which takes an output iterator as the first parameter, whereas boost::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.

Attachments (1)

trimpatch.diff (10.6 KB) - added by mstefanro 7 years ago.
trim.hpp patch

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by mstefanro

trim.hpp patch

comment:1 Changed 7 years ago by pavol_droba

  • Resolution set to wontfix
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain pavol_droba.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.