Windows/MinGW extension: opening std::fstream with a wstring/wchar_t*
Jonathan Wakely
jwakely.gcc@gmail.com
Sun Jul 31 19:25:00 GMT 2011
On 26 July 2011 20:13, Ruben Van Boxem wrote:
>
> Maintenance of this addition is low: the new functions are exact
> copies of the old ones, with the minor change of type and
> fopen->_wfopen.
Copy'n'paste code has a high maintenance burden because corrections
need to be done twice (e.g. I don't think Table 92 needs to be
reproduced in the doxygen comments for the new open function) and it's
easier to forget to do that if some of the code is only
compiled/tested on a single, non-primary platform.
At the minimum we'd need tests adding to the testsuite for that new
functionality.
More information about the Libstdc++
mailing list