Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2224 closed Bugs (fixed)

filesystem::basic_path<>::replace_extension default parameter is wrong

Reported by: Hajo Kirchhoff <mailinglists@…> Owned by: Beman Dawes
Milestone: Boost 1.37.0 Component: filesystem
Version: Boost 1.36.0 Severity: Problem
Keywords: Cc:



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()

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by Marshall Clow

Component: Nonefilesystem
Milestone: Boost 1.36.0Boost 1.37.0
Owner: set to Beman Dawes

comment:2 Changed 9 years ago by Beman Dawes

Resolution: fixed
Status: newclosed

(In [49481]) Filesystem: fix #2224 (Hajo Kirchhoff)

comment:3 Changed 9 years ago by Beman Dawes


Thanks for the bug report!


Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Beman Dawes.
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.