Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 #ifndef _STLP_NUMPUNCT_C
2 #define _STLP_NUMPUNCT_C
3 #ifndef _STLP_INTERNAL_NUMPUNCT_H
4 # include <stl/_numpunct.h>
9 numpunct<_CharT>::~numpunct() { }
11 template<class _CharT>
12 _CharT numpunct<_CharT>::do_decimal_point() const
17 template<class _CharT>
18 _CharT numpunct<_CharT>::do_thousands_sep() const
24 template<class _CharT>
25 string numpunct<_CharT>::do_grouping() const
30 template<class _CharT>
31 basic_string<_CharT> numpunct<_CharT>::do_truename() const
36 template<class _CharT>
37 basic_string<_CharT> numpunct<_CharT>::do_falsename() const
43 template<class _CharT>
44 numpunct_byname<_CharT>::numpunct_byname(const char* name, size_t refs)
45 : numpunct<_CharT> (refs),
46 _M_numeric(__acquire_numericE(name))
49 locale::_M_throw_runtime_error();
51 const char* truename = _Locale_trueE(_M_numeric);
52 const char* falsename = _Locale_falseE(_M_numeric);
56 template<class _CharT>
57 numpunct_byname<_CharT>::~numpunct_byname()
59 __release_numericE(_M_numeric);
62 template<class _CharT>
63 _CharT numpunct_byname<_CharT>::do_decimal_point() const
65 return (_CharT ) _Locale_decimal_pointE(_M_numeric);
67 template<class _CharT>
68 _CharT numpunct_byname<_CharT>::do_thousands_sep() const
70 return (_CharT) _Locale_thousands_sepE(_M_numeric);
73 template<class _CharT>
74 string numpunct_byname<_CharT>::do_grouping() const
76 const char * __grouping = _Locale_groupingE(_M_numeric);
77 if (__grouping != NULL && __grouping[0] == CHAR_MAX)
86 //----------------------------------------------------------------------
88 #endif //#ifndef _STLP_NUMPUNCT_C