logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

std::locale::facet - Localization functionality base class.

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libstdc++                           std::locale::facet(3cxx)

Constructor & Destructor Documentation

std::locale::facet::facet(size_t__refs=0)[inline],[explicit],[protected]
       Facet constructor. This is the constructor provided by the standard. If refs is 0, the facet is destroyed
       when the last referencing locale is destroyed. Otherwise the facet will never be destroyed.

       Parameters__refs The initial value for reference count.

   virtualstd::locale::facet::~facet()[protected],[virtual]
       Facet destructor.

Detailed Description

       Localization functionality base class.

       The facet class is the base class for a localization feature, such as money, time, and number printing.
       It provides common support for facets and reference management.

       Facets may not be copied or assigned.

Name

       std::locale::facet - Localization functionality base class.

Synopsis

       #include <locale>

       Inherited by std::__codecvt_abstract_base<_InternT,_ExternT,encoding_state>,
       std::__codecvt_abstract_base<char,char,mbstate_t>, std::__codecvt_abstract_base<char16_t,char,mbstate_t>, std::__codecvt_abstract_base<char32_t,char,mbstate_t>, std::__codecvt_abstract_base<wchar_t,char,mbstate_t>, std::__codecvt_abstract_base<_Elem,char,mbstate_t>,
       std::__ctype_abstract_base<wchar_t>, std::__codecvt_abstract_base<_InternT,_ExternT,_StateT>,
       std::__ctype_abstract_base<_CharT>, std::__moneypunct_cache< _CharT, _Intl >, std::__numpunct_cache<
       _CharT >, std::__timepunct< _CharT >, std::__timepunct_cache< _CharT >, std::collate<_CharT>,
       std::ctype<char>, std::messages<_CharT>, std::money_get<_CharT,_InIter>, std::money_put<_CharT,_OutIter>, std::moneypunct<_CharT,_Intl>, std::num_get<_CharT,_InIter>, std::num_put<_CharT,_OutIter>, std::numpunct<_CharT>, std::time_get<_CharT,_InIter>, and std::time_put<_CharT,_OutIter>.

   ProtectedMemberFunctionsfacet (const facet &)=deletefacet (size_t __refs=0)  throw ()
           Facet constructor.
       virtual~facet ()
           Facet destructor.
       facet & operator= (const facet &)=deleteStaticProtectedMemberFunctionsstatic __c_locale _S_clone_c_locale (__c_locale &__cloc)  throw ()
       staticvoid_S_create_c_locale (__c_locale &__cloc, const char *__s, __c_locale __old=0)
       staticvoid_S_destroy_c_locale (__c_locale &__cloc)
       static __c_locale _S_get_c_locale ()
       static const char * _S_get_c_name ()  throw ()
       static __c_locale _S_lc_ctype_c_locale (__c_locale __cloc, const char *__s)

   Friendsclasslocaleclasslocale::_Impl

See Also