public member function
<locale>

std::codecvt::codecvt

explicit codecvt (size_t refs = 0);
codecvt constructor
Constructs a codecvt facet object.

Calls the constructor of its base class locale::facet.

Parameters

refs
Reference count for automatic lifetime management. One of the following:
valuedescription
0The object is automatically deleted when the last locale containing this facet is destroyed.
1The object is not automatically deleted.
size_t is an unsigned integral type.