|
1 /* |
|
2 * Portions Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. |
|
3 * |
|
4 * Copyright (c) 1999 |
|
5 * Silicon Graphics Computer Systems, Inc. |
|
6 * |
|
7 * Copyright (c) 1999 |
|
8 * Boris Fomitchev |
|
9 * |
|
10 * This material is provided "as is", with absolutely no warranty expressed |
|
11 * or implied. Any use is at your own risk. |
|
12 * |
|
13 * Permission to use or copy this software for any purpose is hereby granted |
|
14 * without fee, provided the above notices are retained on all copies. |
|
15 * Permission to modify the code and to distribute modified code is granted, |
|
16 * provided the above notices are retained, and a notice that the code was |
|
17 * modified is included with the above copyright notice. |
|
18 * |
|
19 */ |
|
20 #include "stlport_prefix.h" |
|
21 |
|
22 #include <locale> |
|
23 |
|
24 |
|
25 _STLP_BEGIN_NAMESPACE |
|
26 //---------------------------------------------------------------------- |
|
27 // numpunct<char> |
|
28 _STLP_DECLSPEC char numpunct<char>::do_decimal_point() const {return '.';} |
|
29 _STLP_DECLSPEC char numpunct<char>::do_thousands_sep() const { return ','; } |
|
30 _STLP_DECLSPEC string numpunct<char>::do_grouping() const { return string();} |
|
31 _STLP_DECLSPEC string numpunct<char>::do_truename() const { return _M_truename;} |
|
32 _STLP_DECLSPEC string numpunct<char>::do_falsename() const { return _M_falsename; } |
|
33 |
|
34 _STLP_DECLSPEC numpunct<char>::~numpunct() {} |
|
35 |
|
36 #if !defined (_STLP_NO_WCHAR_T) |
|
37 _STLP_DECLSPEC wchar_t numpunct<wchar_t>::do_decimal_point() const { return L'.'; } |
|
38 _STLP_DECLSPEC wchar_t numpunct<wchar_t>::do_thousands_sep() const { return L','; } |
|
39 _STLP_DECLSPEC string numpunct<wchar_t>::do_grouping() const { return string(); } |
|
40 _STLP_DECLSPEC wstring numpunct<wchar_t>::do_truename() const { return _M_truename; } |
|
41 _STLP_DECLSPEC wstring numpunct<wchar_t>::do_falsename() const { return _M_falsename; } |
|
42 |
|
43 _STLP_DECLSPEC numpunct<wchar_t>::~numpunct() {} |
|
44 |
|
45 #endif |
|
46 |
|
47 _STLP_END_NAMESPACE |
|
48 |
|
49 // Local Variables: |
|
50 // mode:C++ |
|
51 // End: |