##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::locale::~locale

From cppreference.com
< cpp‎ | 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.

### [edit] Return value

(none)

### [edit] Exceptions

(none)

### [edit] Example

| This section is incomplete Reason: no example

### [edit] See also

(constructor) | constructs a new locale (public member function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/locale/locale/%7Elocale&oldid=58160"
Category:

- Todo no example