diff -r 000000000000 -r 6474c204b198 build/stlport/src/numpunct.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/stlport/src/numpunct.cpp Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,46 @@ +/* + * Copyright (c) 1999 + * Silicon Graphics Computer Systems, Inc. + * + * Copyright (c) 1999 + * Boris Fomitchev + * + * This material is provided "as is", with absolutely no warranty expressed + * or implied. Any use is at your own risk. + * + * Permission to use or copy this software for any purpose is hereby granted + * without fee, provided the above notices are retained on all copies. + * Permission to modify the code and to distribute modified code is granted, + * provided the above notices are retained, and a notice that the code was + * modified is included with the above copyright notice. + * + */ +#include "stlport_prefix.h" + +#include + +_STLP_BEGIN_NAMESPACE + +//---------------------------------------------------------------------- +// numpunct +char numpunct::do_decimal_point() const {return '.';} +char numpunct::do_thousands_sep() const { return ','; } +string numpunct::do_grouping() const { return string();} +string numpunct::do_truename() const { return "true";} +string numpunct::do_falsename() const { return "false"; } +numpunct::~numpunct() {} + +#if !defined (_STLP_NO_WCHAR_T) +wchar_t numpunct::do_decimal_point() const { return L'.'; } +wchar_t numpunct::do_thousands_sep() const { return L','; } +string numpunct::do_grouping() const { return string(); } +wstring numpunct::do_truename() const { return L"true"; } +wstring numpunct::do_falsename() const { return L"false"; } +numpunct::~numpunct() {} +#endif + +_STLP_END_NAMESPACE + +// Local Variables: +// mode:C++ +// End: