[Boost-bugs] [Boost C++ Libraries] #2224: filesystem::basic_path<>::replace_extension default parameter is wrong

Subject: [Boost-bugs] [Boost C++ Libraries] #2224: filesystem::basic_path<>::replace_extension default parameter is wrong
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-19 08:45:10


#2224: filesystem::basic_path<>::replace_extension default parameter is wrong
-------------------------------------------------------------+--------------
 Reporter: Hajo Kirchhoff <mailinglists_at_[hidden]> | Type: Bugs
   Status: new | Milestone: Boost 1.36.0
Component: None | Version: Boost 1.36.0
 Severity: Problem | Keywords:
-------------------------------------------------------------+--------------
 boost\filesystem\path.hpp:206
       basic_path & replace_extension( const string_type & new_extension =
 "" );

 The default extension is wrong for string_type==std::wstring and causes a
 compiler error.

 It should probably be

 new_extension = string_type()

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2224>
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:49:58 UTC