Esempio n. 1
0
_Messages_impl::_Messages_impl(bool is_wide) : 
  _M_message_obj(0), _M_map(0)
{ 
  _M_delete = true;
  if (is_wide) 
    _M_map = new _Catalog_locale_map;
  _M_message_obj = __acquire_messages("C");
}
Esempio n. 2
0
messages<char>::messages(size_t refs)
#if !(defined(__MRC__) || defined(__SC__) )		//*TY 04/29/2000 - added workaround for mpw
  : locale::facet(refs),
#else					//*TY 04/29/2000 - 
  : _facet(refs),		//*TY 04/29/2000 - they forget to look into the nested class for the ctor
#endif					//*TY 04/29/2000 - 
  _M_message_obj(0)
{
  _M_message_obj = __acquire_messages("C");
}
Esempio n. 3
0
__STL_BEGIN_NAMESPACE

# ifndef __STL_NO_WCHAR_T

messages<wchar_t>::messages(size_t refs)
#if !(defined(__MRC__) || defined(__SC__) )		//*TY 04/29/2000 - added workaround for mpw
: locale::facet(refs),
#else					//*TY 04/29/2000 - 
: 
_facet(refs),		//*TY 04/29/2000 - they forget to look into the nested class for the ctor
#endif					//*TY 04/29/2000 - 
_M_message_obj(0), _M_map(new _Catalog_locale_map)
{
_M_message_obj = __acquire_messages("C");
}
Esempio n. 4
0
messages_byname<char>::messages_byname(const char* name, size_t refs)
  : messages<char>(refs, name ? __acquire_messages(name) : 0)
{}
Esempio n. 5
0
messages<char>::messages(size_t refs)
    : locale::facet(refs), _M_message_obj(0)
{
    _M_message_obj = __acquire_messages("C");
}
Esempio n. 6
0
messages<wchar_t>::messages(size_t refs)
    : locale::facet(refs),
      _M_message_obj(0), _M_map(new _Catalog_locale_map)
{
    _M_message_obj = __acquire_messages("C");
}