STD::MESSAGES_BYNAME(3cxx)

πŸ’… NAME πŸ’…

okay so bestie, you’re on the std::messages_byname< _CharT >(3cxx) page β€” the manual name is right there in the chat, no need to make it a whole title line πŸ’–

  • std::messages_byname< _CharT > β€” class messages_byname [22.2.7.2]. That’s the whole name section, fr fr.

✨ SYNOPSIS ✨

#include <locale>

Inherits std::messages< _CharT >.

🌸 Public Types 🌸

  • typedef int catalog β€” catalog is literally int, no cap.
  • typedef _CharT char_type β€” char_type is _CharT.
  • typedef basic_string< _CharT > string_type β€” string_type is basic_string< _CharT >.

πŸ‘‘ Public Member Functions πŸ‘‘

  • messages_byname (const char *__s, size_t __refs=0) β€” constructor from const char *__s; __refs defaults to 0.
  • messages_byname (const string &__s, size_t __refs=0) β€” constructor from const string &__s; __refs defaults to 0.
  • void close (catalog __c) const β€” close with a catalog __c.
  • string_type get (catalog __c, int __set, int __msgid, const string_type &__s) const β€” get with catalog __c, int __set, int __msgid, and const string_type &__s.
  • catalog open (const basic_string< char > &, const locale &, const char *) const β€” open overload with const basic_string< char > &, const locale &, and const char *.
  • catalog open (const basic_string< char > &__s, const locale &__loc) const β€” open overload with const basic_string< char > &__s and const locale &__loc.

πŸ’« Static Public Attributes πŸ’«

  • static locale::id id β€” the doc note says Numpunct facet id. Yes, on the messages page β€” that’s what it says, bestie.

πŸŽ€ Protected Member Functions πŸŽ€

  • string_type _M_convert_from_char (char *) const β€” protected member function.
  • char * _M_convert_to_char (const string_type &__msg) const β€” protected member function.
  • virtual void do_close (catalog) const β€” virtual protected overload.
  • void do_close (catalog) const β€” protected overload.
  • void do_close (catalog) const β€” yep, it’s listed again; both stay, periodt.
  • string do_get (catalog, int, int, const string &) const β€” note: Specializations for required instantiations.
  • virtual string_type do_get (catalog, int, int, const string_type &__dfault) const β€” virtual protected overload.
  • wstring do_get (catalog, int, int, const wstring &) const β€” protected overload with wstring.
  • virtual catalog do_open (const basic_string< char > &, const locale &) const β€” virtual protected open.
  • messages< char >::catalog do_open (const basic_string< char > &, const locale &) const β€” protected open returning messages< char >::catalog.
  • messages< wchar_t >::catalog do_open (const basic_string< char > &, const locale &) const β€” protected open returning messages< wchar_t >::catalog.

πŸ¦‹ Static Protected Member Functions πŸ¦‹

  • static __c_locale _S_clone_c_locale (__c_locale &__cloc) throw () β€” static protected function.
  • static void _S_create_c_locale (__c_locale &__cloc, const char *__s, __c_locale __old=0) β€” static protected function; __old defaults to 0.
  • static void _S_destroy_c_locale (__c_locale &__cloc) β€” static protected function.
  • static __c_locale _S_get_c_locale () β€” static protected function.
  • static const char * _S_get_c_name () throw () β€” static protected function.
  • static __c_locale _S_lc_ctype_c_locale (__c_locale __cloc, const char *__s) β€” static protected function.

🌈 Protected Attributes 🌈

  • __c_locale _M_c_locale_messages
  • const char * _M_name_messages

πŸ’¬ Detailed Description πŸ’¬

template<typename _CharT>
       class std::messages_byname< _CharT >"class messages_byname [22.2.7.2].

That quote before class? It’s literally in the original, bestie β€” I did not add it πŸ™ˆ


πŸ”₯ Member Function Documentation πŸ”₯

  • string std::messages< char >::do_get (catalog, int, int, const string &) const [protected], [inherited] β€” note: Specializations for required instantiations.

⭐ Member Data Documentation ⭐

  • template<typename _CharT > locale::id std::messages< _CharT >::id [static], [inherited] β€” note: Numpunct facet id.

πŸ’Œ Author πŸ’Œ

The Author section literally says: Generated automatically by Doxygen for libstdc++ from the source code.


Bye bestie! Footer tea: source/version is libstdc++ with the 3cxx manual label, and the page doesn’t show a date β€” so no invented date here, just vibes πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from