STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
locale::id Class Reference

Public Member Functions

__CLR_OR_THIS_CALL id (size_t _Val=0)
 
__CLR_OR_THIS_CALL operator size_t ()
 
__CLR_OR_THIS_CALL id (const id &)=delete
 
id &__CLR_OR_THIS_CALL operator= (const id &)=delete
 

Private Attributes

size_t _Id
 

Static Private Attributes

static __PURE_APPDOMAIN_GLOBAL int _Id_cnt
 

Constructor & Destructor Documentation

__CLR_OR_THIS_CALL locale::id::id ( size_t  _Val = 0)
inline
73  : _Id(_Val)
74  { // construct with specified stamp value
75  }
size_t _Id
Definition: xlocale:90
_FwdIt const _Ty _Val
Definition: algorithm:1938
__CLR_OR_THIS_CALL locale::id::id ( const id )
delete

Member Function Documentation

__CLR_OR_THIS_CALL locale::id::operator size_t ( )
inline
78  { // get stamp, with lazy allocation
79  if (_Id == 0)
80  { // still zero, allocate stamp
81  _BEGIN_LOCK(_LOCK_LOCALE)
82  if (_Id == 0)
83  _Id = ++_Id_cnt;
84  _END_LOCK()
85  }
86  return (_Id);
87  }
size_t _Id
Definition: xlocale:90
return(_PAIR_TYPE(_FwdIt)(_First, _First))
if(__pUnknown!=*__ppTargetUnknown)
Definition: vccorlib.h:394
#define _LOCK_LOCALE
Definition: yvals.h:612
static __PURE_APPDOMAIN_GLOBAL int _Id_cnt
Definition: xlocale:92
id& __CLR_OR_THIS_CALL locale::id::operator= ( const id )
delete

Member Data Documentation

size_t locale::id::_Id
private
__PURE_APPDOMAIN_GLOBAL int locale::id::_Id_cnt
staticprivate

The documentation for this class was generated from the following file: