
17 Feb
2009
17 Feb
'09
2:18 a.m.
Upgraded to the version 0.10. Added boost::string::is_string<T> SFINAE-based check. That allowed to discriminate the applicability of conversion functions. Now they demand one of the parameters to be a string (in broad sense, like C strings, std::(w)string, chat/wchar_t-based containers) and the other *not* a string. Have straighten up the main boost::string::convert() interface (was quite broken) so that all the tests now run as expected.
Why not allow to convert between different string types? Possible applications: - std::string <--> std::wstring or similar (based on a future Boost.Unicode library) - conversion between different symbol (character) sets Regards Hartmut