// // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh) // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #include #include #include int main() { using namespace boost::locale; using namespace std; generator gen; locale loc=gen(""); // Create system default locale locale::global(loc); // Make it system global cout.imbue(loc); // Set as default locale for output cout <