[libcxx-commits] [libcxx] [libc++] Annotate generic_category/system_category as const (PR #78052)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 23 07:15:20 PST 2024


ldionne wrote:

I see two options:

1. Use an alternative attribute syntax that works in C++03 mode
2. Don't provide `<system_error>` in C++03 mode, since it is technically a C++11 addition to the library

(2) is a lot harder and would be breaking for users. We could investigate doing that, but (1) would be significantly easier especially given the simplicity of the patch that motivates it.

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


More information about the libcxx-commits mailing list