Name

codecvt_byname class template — Facet for mapping one character set to another

Synopsis

template<typename internT, typename externT, typename stateT>
class codecvt_byname :
  public codecvt<internT, externT, stateT>
{
public:
  explicit codecvt_byname(const char*, size_t refs = 0);
protected:
  //  . . .  Same virtual functions as in codecvt
};

The codecvt_byname class template converts characters from one character encoding to another using the rules of a named locale. The codecvt_byname<char,char,mbstate_t> and codecvt_byname<wchar_t,char,mbstate_t> instantiations are standard.