3 * \file numpunct_lyx_char_type.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef LYX_NUMPUNCT_LYX_CHAR_TYPE_H
13 #define LYX_NUMPUNCT_LYX_CHAR_TYPE_H
23 class numpunct<lyx::char_type> : public numpunct<char>
27 typedef lyx::char_type char_type;
28 typedef basic_string<lyx::char_type> string_type;
32 explicit numpunct(size_t __refs = 0) : numpunct<char>(__refs)
35 char_type decimal_point() const
36 { return numpunct<char>::decimal_point(); }
38 char_type thousands_sep() const
39 { return numpunct<char>::thousands_sep(); }
41 string grouping() const
42 { return numpunct<char>::grouping(); }
44 string_type truename() const
45 { return lyx::from_ascii(numpunct<char>::truename()); }
47 string_type falsename() const
48 { return lyx::from_ascii(numpunct<char>::falsename()); }
57 // http://connect.microsoft.com/VisualStudio/feedback/details/572376/msvc10-c-std-numpunct-has-a-hardcoded-dllimport-in-definition