20 Dec
2013
20 Dec
'13
1:42 a.m.
[Marshall Clow]
This is more complicated than it looks, because some standard libraries declare do_length as: 'virtual int do_length(mbstate_t&, const char*, const char*, size_t) const' and others as: 'virtual int do_length(const mbstate_t&, const char*, const char*, size_t) const' This was changed in the C++ standard back about the 2004 (changed TO const mbstate_t) but the Dinkumware library shipped with Visual Studio (for one) was not updated until very recently. [ I believe that it is changed for VS 2013 ]
This was actually fixed in VC 2012. STL