[libcxx-dev] locale decimal point
Steven Lengieza via libcxx-dev
libcxx-dev at lists.llvm.org
Thu Jun 27 11:15:37 PDT 2019
I am using the following lines of code to get a locale-specific decimal point however, it is causing a crash. I am unable to find any libc++ specific documentation for using std::locale but according to the STL an empty string should always be a valid locale. Does this indicate a bug in the libc++ implementation or are we doing something wrong?
const std::moneypunct<char>& mp =
text += mp.decimal_point();
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the libcxx-dev