std::locale::locale::facet Class Reference

Localization functionality base class. More...

Inheritance diagram for std::locale::locale::facet:

Inheritance graph

List of all members.

Protected Member Functions

Static Protected Member Functions


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.

Definition at line 335 of file locale_classes.h.

Constructor & Destructor Documentation

std::locale::locale::facet::facet ( size_t  __refs = 0  )  throw () [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.

refs The initial value for reference count.

Definition at line 367 of file locale_classes.h.

virtual std::locale::locale::facet::~facet (  )  [protected, virtual]

Facet destructor.

The documentation for this class was generated from the following file:

Generated on Tue Apr 21 13:14:22 2009 for libstdc++ by  doxygen 1.5.8