|
template<typename _OutStr , typename _InChar , typename _Codecvt , typename _State , typename _Fn > |
bool | std::__do_str_codecvt (const _InChar *__first, const _InChar *__last, _OutStr &__outstr, const _Codecvt &__cvt, _State &__state, size_t &__count, _Fn __fn) |
|
template<typename _CharT , typename _Traits , typename _Alloc , typename _State > |
bool | std::__str_codecvt_in (const char *__first, const char *__last, basic_string< _CharT, _Traits, _Alloc > &__outstr, const codecvt< _CharT, char, _State > &__cvt, _State &__state, size_t &__count) |
|
template<typename _CharT , typename _Traits , typename _Alloc , typename _State > |
bool | std::__str_codecvt_in (const char *__first, const char *__last, basic_string< _CharT, _Traits, _Alloc > &__outstr, const codecvt< _CharT, char, _State > &__cvt) |
|
template<typename _CharT , typename _Traits , typename _Alloc , typename _State > |
bool | std::__str_codecvt_out (const _CharT *__first, const _CharT *__last, basic_string< char, _Traits, _Alloc > &__outstr, const codecvt< _CharT, char, _State > &__cvt, _State &__state, size_t &__count) |
|
template<typename _CharT , typename _Traits , typename _Alloc , typename _State > |
bool | std::__str_codecvt_out (const _CharT *__first, const _CharT *__last, basic_string< char, _Traits, _Alloc > &__outstr, const codecvt< _CharT, char, _State > &__cvt) |
|
template<typename _Facet > |
bool | std::has_facet (const locale &__loc) throw () |
|
template<typename _Facet > |
const _Facet & | std::use_facet (const locale &__loc) |
|
Classes and functions for internationalization and localization.
template<typename _Facet >
const _Facet & std::use_facet |
( |
const locale & |
__loc | ) |
|
Return a facet.use_facet looks for and returns a reference to a facet of type Facet where Facet is the template parameter. If has_facet(locale) is true, there is a suitable facet to return. It throws std::bad_cast if the locale doesn't contain a facet of type Facet.
- Template Parameters
-
_Facet | The facet type to access. |
- Parameters
-
- Returns
- Reference to facet of type Facet.
- Exceptions
-
std::bad_cast | if __loc doesn't contain a facet of type _Facet. |
Definition at line 132 of file locale_classes.tcc.
References std::collate< _CharT >::do_compare().