ReactOS  0.4.13-dev-235-g7373cb3
locale_impl.h File Reference
#include <clocale>
#include <vector>
#include <string>
#include <locale>
#include "c_locale.h"
Include dependency graph for locale_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  _Locale_impl
 
class  _Locale_impl::Init
 

Functions

void _STLP_CALL _release_Locale_impl (_Locale_impl *&loc)
 

Function Documentation

◆ _release_Locale_impl()

void _STLP_CALL _release_Locale_impl ( _Locale_impl *&  loc)

Definition at line 702 of file locale_impl.cpp.

703 {
704  _STLP_ASSERT( loc != 0 );
705  if (loc->_M_decr() == 0) {
706  if (*loc != *_Stl_classic_locale)
707  delete loc;
708  else
709  loc->~_Locale_impl();
710  loc = 0;
711  }
712 }
static locale * _Stl_classic_locale
__stl_atomic_t _M_decr()
Definition: _threads.h:480
#define _STLP_ASSERT(expr)
Definition: _debug.h:165

Referenced by locale::global(), locale::operator=(), and locale::~locale().