
22 Jul
2013
22 Jul
'13
8:38 a.m.
boost 1.54.0 When I use boost::locale::generator and generator("") I get different results for the decimal point than using std::locale(""). Boths methods are supposted to deliver the system's default locale. Example: // windows 7, de_AT std::use_facet<std::numpunct<char> >(std::locale("")).decimal_point(); // delivers a , boost::locale::generator generator; std::use_facet<std::numpunct<char> >(generator("")).decimal_point(); // delivers a . What does generator("")) deliver? Is it wanted that a '.' is deliverd as decimal point for a german locale? Best regards, Michael