Template:cpp/locale/facet/destructor

Destructs a facet. This destructor is protected and virtual (due to base class destructor being virtual). An object of type, like most facets, can only be destroyed when the last std object that implements this facet goes out of scope or if a user-defined class is derived from and implements a public destructor.