ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

numpunct.cpp
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 1999
00003  * Silicon Graphics Computer Systems, Inc.
00004  *
00005  * Copyright (c) 1999
00006  * Boris Fomitchev
00007  *
00008  * This material is provided "as is", with absolutely no warranty expressed
00009  * or implied. Any use is at your own risk.
00010  *
00011  * Permission to use or copy this software for any purpose is hereby granted
00012  * without fee, provided the above notices are retained on all copies.
00013  * Permission to modify the code and to distribute modified code is granted,
00014  * provided the above notices are retained, and a notice that the code was
00015  * modified is included with the above copyright notice.
00016  *
00017  */
00018 #include "stlport_prefix.h"
00019 
00020 #include <locale>
00021 
00022 _STLP_BEGIN_NAMESPACE
00023 
00024 //----------------------------------------------------------------------
00025 // numpunct<char>
00026 char   numpunct<char>::do_decimal_point() const {return '.';}
00027 char   numpunct<char>::do_thousands_sep() const { return ','; }
00028 string numpunct<char>::do_grouping()  const { return string();}
00029 string numpunct<char>::do_truename()  const { return "true";}
00030 string numpunct<char>::do_falsename() const { return "false"; }
00031 numpunct<char>::~numpunct() {}
00032 
00033 #if !defined (_STLP_NO_WCHAR_T)
00034 wchar_t numpunct<wchar_t>::do_decimal_point() const { return L'.'; }
00035 wchar_t numpunct<wchar_t>::do_thousands_sep() const { return L','; }
00036 string numpunct<wchar_t>::do_grouping()   const { return string(); }
00037 wstring numpunct<wchar_t>::do_truename()  const { return L"true"; }
00038 wstring numpunct<wchar_t>::do_falsename() const { return L"false"; }
00039 numpunct<wchar_t>::~numpunct() {}
00040 #endif
00041 
00042 _STLP_END_NAMESPACE
00043 
00044 // Local Variables:
00045 // mode:C++
00046 // End:

Generated on Sun May 27 2012 04:35:13 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.