messages_byname

template<class E>
    class messages_byname : public messages<E> {
public:
    explicit messages_byname(const char *s, size_t refs = 0);
protected:
    ~messages_byname();
    };

The template class describes an object that can serve as a locale facet of type messages<E>. Its behavior is determined by the named locale s. The constructor initializes its base object with messages<E>(refs).