ReactOS
0.4.16-dev-736-g28b802b
numpunct.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 1999
3
* Silicon Graphics Computer Systems, Inc.
4
*
5
* Copyright (c) 1999
6
* Boris Fomitchev
7
*
8
* This material is provided "as is", with absolutely no warranty expressed
9
* or implied. Any use is at your own risk.
10
*
11
* Permission to use or copy this software for any purpose is hereby granted
12
* without fee, provided the above notices are retained on all copies.
13
* Permission to modify the code and to distribute modified code is granted,
14
* provided the above notices are retained, and a notice that the code was
15
* modified is included with the above copyright notice.
16
*
17
*/
18
#include "
stlport_prefix.h
"
19
20
#include <locale>
21
22
_STLP_BEGIN_NAMESPACE
23
24
//----------------------------------------------------------------------
25
// numpunct<char>
26
char
numpunct<char>::do_decimal_point
()
const
{
return
'.'
;}
27
char
numpunct<char>::do_thousands_sep
()
const
{
return
','
; }
28
string
numpunct<char>::do_grouping
()
const
{
return
string
();}
29
string
numpunct<char>::do_truename
()
const
{
return
"true"
;}
30
string
numpunct<char>::do_falsename
()
const
{
return
"false"
; }
31
numpunct<char>::~numpunct
() {}
32
33
#if !defined (_STLP_NO_WCHAR_T)
34
wchar_t
numpunct<wchar_t>::do_decimal_point
()
const
{
return
L
'.'
; }
35
wchar_t
numpunct<wchar_t>::do_thousands_sep
()
const
{
return
L
','
; }
36
string
numpunct<wchar_t>::do_grouping
()
const
{
return
string
(); }
37
wstring
numpunct<wchar_t>::do_truename
()
const
{
return
L
"true"
; }
38
wstring
numpunct<wchar_t>::do_falsename
()
const
{
return
L
"false"
; }
39
numpunct<wchar_t>::~numpunct
() {}
40
#endif
41
42
_STLP_END_NAMESPACE
43
44
// Local Variables:
45
// mode:C++
46
// End:
numpunct
Definition:
_numpunct.h:43
_STLP_BEGIN_NAMESPACE
#define _STLP_BEGIN_NAMESPACE
Definition:
features.h:501
_STLP_END_NAMESPACE
#define _STLP_END_NAMESPACE
Definition:
features.h:503
string
char string[160]
Definition:
util.h:11
L
#define L(x)
Definition:
ntvdm.h:50
stlport_prefix.h
wstring
__crt_unique_heap_ptr< wchar_t > const wstring(_malloc_crt_t(wchar_t, maxsize))
sdk
lib
3rdparty
stlport
src
numpunct.cpp
Generated on Mon Feb 10 2025 06:13:46 for ReactOS by
1.9.6