Georg Baum <[EMAIL PROTECTED]> writes: > Try this one. On linux the output is: > > global has std::codecvt<boost::uint32_t> facet: 0 > global has std::ctype<boost::uint32_t> facet: 0 > global has std::num_put<boost::uint32_t> facet: 0 > terminate called after throwing an instance of 'std::bad_cast' > what(): St8bad_cast
Hmmmm. So it throws when filling the basic_ostringstream<boost::uint32_t>? Incidentally, I don't think that you mean this: std::cerr << "global has std::num_put<boost::uint32_t> facet: " << std::has_facet<std::ctype<boost::uint32_t> >(global) << std::endl; Angus