#2224 closed Bugs (fixed)
filesystem::basic_path<>::replace_extension default parameter is wrong
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | Boost 1.37.0 | Component: | filesystem |
Version: | Boost 1.36.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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()
Change History (3)
comment:1 by , 14 years ago
Component: | None → filesystem |
---|---|
Milestone: | Boost 1.36.0 → Boost 1.37.0 |
Owner: | set to |
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [49481]) Filesystem: fix #2224 (Hajo Kirchhoff)