wstring moneypunct_byname<wchar_t, false>::do_curr_symbol() const
{
  string str =  _Locale_currency_symbol(_M_monetary);
# if defined (__STL_NO_MEMBER_TEMPLATES) || defined (__STL_MSVC)
  wstring result(wstring::_Reserve_t(), str.size());
  copy(str.begin(), str.end(), result.begin());
# else
  wstring result(str.begin(), str.end());
# endif
  return result;
}
Exemple #2
0
wstring moneypunct_byname<wchar_t, false>::do_curr_symbol() const
{
  string str =  _Locale_currency_symbol(_M_monetary);
# if defined (_STLP_NO_MEMBER_TEMPLATES) || defined (_STLP_MSVC) || defined(__MRC__) || defined(__SC__)		//*ty 05/26/2001 - added workaround for mpw
  wstring result(wstring::_Reserve_t(), str.size());
  copy(str.begin(), str.end(), result.begin());
# else
  wstring result(str.begin(), str.end());
# endif
  return result;
}
Exemple #3
0
wstring moneypunct_byname<wchar_t, false>::do_curr_symbol() const
{ return __do_widen(_Locale_currency_symbol(_M_monetary)); }
Exemple #4
0
string moneypunct_byname<char, false>::do_curr_symbol() const
{ return _Locale_currency_symbol(_M_monetary); }