Ticket #7346 (closed Bugs: fixed)

Opened 3 years ago

Last modified 3 years ago

Range algorithm_ext makes compile error

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


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, "", "");


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

Change History

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

Fix for this problem

comment:1 Changed 3 years ago by marshall

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

comment:2 Changed 3 years ago by marshall

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

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


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

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

Note: See TracTickets for help on using tickets.