GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::locale::facet(3) C++ Standard Libary std::locale::facet(3)

std::locale::facet - std::locale::facet


Defined in header <locale>
class locale::facet;


std::locale::facet is the base class for facets. It provides a common base class so
that locales could store pointers to the facets they implement in a single indexed
container, and it abstracts support for facet reference counting. Whenever a facet
is added to a locale, the locale increments the reference count in the facet
(through an implementation-specific mechanism). Whenever a locale is destructed or
modified, it decrements the reference count in each facet it no longer implements.
Whenever a facet's reference count becomes zero, the locale performs delete
static_cast<std::locale::facet*>(f) where f is the pointer to the facet.


constructor constructs a new facet with specified reference count
(protected member function)
operator= the copy assignment operator is deleted
(protected member function)
destructor the destructor is protected virtual
[virtual] (virtual protected member function)


This section is incomplete
Reason: no example


the facet index type: each facet class must declare or inherit a public static
id member of this type
(class)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.