cpp/locale/ctype char/~ctype

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.

If, when this instance of was constructed, a custom classification table was provided and the second argument to the constructor (the boolean ) was, then this destructor executes.