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