Opened 8 years ago

Last modified 6 years ago

#10454 new Bugs

windows_file_codecvt::do_length doesn't use BOOST_CODECVT_DO_LENGTH_CONST

Reported by: m.kosch@… Owned by: Beman Dawes
Milestone: To Be Determined Component: filesystem
Version: Boost 1.63.0 Severity: Problem
Keywords: Cc: m.kosch@…

Description

In Visual Studio the first parameter of std::codecvt::do_length is defined as a const reference whereas in the derived class windows_file_codecvt the first parameter of do_length it is defined as non-const reference. This leads to improper overloading of the method.

See also: #10354

Change History (3)

comment:1 by Marshall Clow, 8 years ago

I believe that this was fixed today by Beman while fixing #10354.

comment:2 by m.kosch@…, 7 years ago

Version: Boost 1.56.0Boost 1.60.0

This bug still exists in Boost 1.60.0.

in reply to:  description comment:3 by m.kosch@…, 6 years ago

Version: Boost 1.60.0Boost 1.63.0

This bug still exists in Boost 1.63.0.

Note: See TracTickets for help on using tickets.