[libcxx-commits] [libcxx] [libc++] Mostly Implement P1885R12: `<text_encoding>` (PR #141312)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 25 00:05:30 PST 2026


frederick-vs-ja wrote:

> * `locale::encoding()` is not implemented in this PR due to `locale` being implemented in a source file, and at the moment, `text_encoding` is unable to be exposed as a symbol in the library due to it being built with C++23.

Would it be possible to make `locale::encoding` a function template (with dummy leading `template <class = void>` or something like) to get rid of DLL-exporting mechanisms?

https://github.com/llvm/llvm-project/pull/141312


More information about the libcxx-commits mailing list