Definition at line 472 of file locale_classes.h.
bool has_facet | ( | const locale & | ) | throw () [friend] |
const _Facet& use_facet | ( | const locale & | ) | [friend] |
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.
std::bad_cast | if locale doesn't contain a facet of type Facet. |
Definition at line 111 of file locale_facets.tcc.