Difference between revisions of "cpp/locale/locale/encoding"
From cppreference.com
m (Actually, std::text_encoding was recently added to GeSHi-keywords (not in {{lc}} yet) |
D41D8CD98F (Talk | contribs) (thanks, but I prefer not to use `{{c/core}}` (which overrides the hyperlink color)) |
||
Line 5: | Line 5: | ||
}} | }} | ||
− | Returns a {{ | + | Returns a {{ltt|cpp/locale/text_encoding|std::text_encoding}} object that represents the implementation-defined encoding scheme associated with the locale {{c|*this}}. |
===Return value=== | ===Return value=== | ||
− | A {{ | + | A {{ltt|cpp/locale/text_encoding|std::text_encoding}} object that represents the associated encoding scheme. |
===Example=== | ===Example=== |
Revision as of 04:18, 23 October 2024
std::text_encoding encoding() const; |
||
Returns a std::text_encoding object that represents the implementation-defined encoding scheme associated with the locale *this.
Return value
A std::text_encoding object that represents the associated encoding scheme.
Example
This section is incomplete Reason: no example |
See also
[static] |
constructs a new text_encoding representing the ordinary character literal encoding (public static member function of std::text_encoding )
|