__GNU_CXX::ENCODING_CHAR_TRAITS(3cxx)

πŸ’– __gnu_cxx::encoding_char_traits< _CharT > πŸ’–

okay bestie, welcome to the 3cxx manual page for __gnu_cxx::encoding_char_traits< _CharT > β€” yes, that whole gorgeous mouthful. let's get into it πŸ’…βœ¨


🌸 NAME 🌸

__gnu_cxx::encoding_char_traits< _CharT > β€” encoding_char_traits

that's the name, that's the vibe, and honestly it ate πŸŽ€


✨ SYNOPSIS ✨

#include <codecvt_specializations.h>
  • Inherits std::char_traits< _CharT >.

lowkey iconic inheritance behavior, no cap πŸ¦‹

πŸŽ€ Public Types πŸŽ€

  • typedef _CharT char_type
  • using comparison_category = std::strong_ordering
  • typedef _Char_types< _CharT >::int_type int_type
  • typedef _Char_types< _CharT >::off_type off_type
  • typedef std::fpos< state_type > pos_type
  • typedef encoding_state state_type

look at all these types showing up and serving looks πŸ’–

πŸ’… Static Public Member Functions πŸ’…

  • static constexpr void assign (char_type &__c1, const char_type &__c2)
  • static constexpr char_type * assign (char_type *__s, std::size_t __n, char_type __a)
  • static constexpr int compare (const char_type *__s1, const char_type *__s2, std::size_t __n)
  • static constexpr char_type * copy (char_type *__s1, const char_type *__s2, std::size_t __n)
  • static constexpr bool eq (const char_type &__c1, const char_type &__c2)
  • static constexpr bool eq_int_type (const int_type &__c1, const int_type &__c2)
  • static constexpr const char_type * find (const char_type *__s, std::size_t __n, const char_type &__a)
  • static constexpr std::size_t length (const char_type *__s)
  • static constexpr bool lt (const char_type &__c1, const char_type &__c2)
  • static constexpr char_type * move (char_type *__s1, const char_type *__s2, std::size_t __n)
  • static constexpr char_type to_char_type (const int_type &__c)
  • static constexpr int_type to_int_type (const char_type &__c)

that's the whole function lineup, bestie β€” every single one is here, and yes they're all static constexpr, periodt πŸ”₯


πŸ¦‹ Detailed Description πŸ¦‹

okay so here's the template-and-struct moment, copied exactly with all its quirky punctuation energy:

template<typename _CharT>
       struct __gnu_cxx::encoding_char_traits< _CharT >"encoding_char_traits

not me being obsessed with that little quote mark showing up right there πŸ˜­πŸ’€ it's literally part of the page, so it stays.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code.

slay, Doxygen did its thing 🫢✨


kisses from the footer πŸ’‹: source/version vibes are libstdc++, manual section 3cxx, and the date is not listed on this page, so no invented date here, bestie πŸ™ˆπŸ’–