Modify

Opened 5 years ago

Closed 5 years ago

#7346 closed Bugs (fixed)

Range algorithm_ext makes compile error

Reported by: Yusuke Ichinohe <yusuke.ichinohe@…> Owned by: Marshall Clow
Milestone: To Be Determined Component: string_algo
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

Follwing code raises compaile error in Visual C++ 2005/2008/2010/2012.

#include <boost/algorithm/string/replace.hpp>
#include <boost/range/algorithm_ext.hpp>
#include <string>

int main()
{
	std::string s;
	boost::algorithm::replace_all_copy(s, "", "");
	boost::algorithm::replace_first_copy(s, "", "");
}

Attachments (1)

find_format.diff (2.0 KB) - added by Yusuke Ichinohe <yusuke.ichinohe@…> 5 years ago.
Fix for this problem

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by Yusuke Ichinohe <yusuke.ichinohe@…>

Attachment: find_format.diff added

Fix for this problem

comment:1 Changed 5 years ago by Marshall Clow

(In [80809]) Qualified some calls to insert to remove ambiguity; Refs #7346 Thanks to Yusuke Ichinohe for the bug report/fix

comment:2 Changed 5 years ago by Marshall Clow

Resolution: fixed
Status: newclosed

(In [81832]) Merge from trunk; Fixes #7346

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Marshall Clow.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.