public member class
<locale>

std::locale::id

class id;
Locale facet id
This type is used to declare the member variable id of all facets. It uniquely identifies the facet type.

It is defined as:
1
2
3
4
5
6
7
class locale::id {
public:
  id();
private:
  void operator= (const id&);  // not defined
  id (const id&);              // not defined
}
The copy constructor and copy assignment are private, preventing the copy of facet objects.
It is defined as:
1
2
3
4
5
6
class locale::id {
public:
  id();
  void operator= (const id&) = delete;
  id (const id&) = delete;
}
The copy constructor and copy assignment are deleted, preventing the copy of facet objects.

This class basically implements a default constructor, which is called the first time an instance of the facet is installed in the locale.