Boost.Locale
|
std::bad_cast
exception? std::locale
object. All Boost.Locale tools rely on std::locale
object's facets. The locale object should be generated with the generator class and then passed to the function or alternatively global locale should be set using the std::locale::global()
function such that global locale (and default created one) would have the required facets.iostream
objects. Thus, because std::out
and other global streams were created before changing the global locale, Boost.Locale manipulators have no effect. You need to write: