Files
2025-10-25 03:02:53 +03:00

1.3 KiB
Raw Permalink Blame History

[text.encoding.cmp]

28 Text processing library [text]

28.4 Text encodings identification [text.encoding]

28.4.2 Class text_encoding [text.encoding.class]

28.4.2.4 Comparison functions [text.encoding.cmp]

🔗

friend constexpr bool operator==(const text_encoding& a, const text_encoding& b) noexcept;

1

#

Returns: If a.mib_ == id::other && b.mib_ == id::other is true, then comp-name(a.name_,
b.name_).

Otherwise, a.mib_ == b.mib_.

🔗

friend constexpr bool operator==(const text_encoding& encoding, id i) noexcept;

2

#

Returns: encoding.mib_ == i.

3

#

Remarks: This operator induces an equivalence relation on its arguments if and only if i != id::other is true.