cpp / latest / locale / locale / ~locale.html /

std::locale::~locale

Defined in header <locale>
~locale();

Non-virtual destructor which decrements reference counts of all facets held by *this. Those facets whose reference count becomes zero are deleted.

Return value

(none).

Example

See also

constructs a new locale
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/locale/locale/%7Elocale