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
108  : _Id(_Val)
109  { // construct with specified stamp value
110  }
size_t _Id
Definition: xlocale:125
_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
113  { // get stamp, with lazy allocation
114  if (_Id == 0)
115  { // still zero, allocate stamp
116  _BEGIN_LOCK(_LOCK_LOCALE)
117  if (_Id == 0)
118  _Id = ++_Id_cnt;
119  _END_LOCK()
120  }
121  return (_Id);
122  }
return
Definition: corecrt_memcpy_s.h:60
if(_Source==NULL||_DestinationSize< _SourceSize)
Definition: corecrt_memcpy_s.h:48
size_t _Id
Definition: xlocale:125
#define _LOCK_LOCALE
Definition: yvals.h:591
static __PURE_APPDOMAIN_GLOBAL int _Id_cnt
Definition: xlocale:127
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: