ReactOS 0.4.15-dev-8241-g63935f8
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 116 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}
#define _STLP_ASSERT(expr)
Definition: _debug.h:165
__stl_atomic_t _M_decr()
Definition: _threads.h:480
static locale * _Stl_classic_locale

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