[libcxx-commits] [libcxx] [libc++] Add missing constructor for forward_list in C++11 (PR #204845)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jun 19 10:00:02 PDT 2026
frederick-vs-ja wrote:
> That constructor was added in [fb82976](https://github.com/llvm/llvm-project/commit/fb8297668f4b5a6aea19b8b79da47a3ba090d6e3), as part of fixing https://wg21.link/LWG2210. It seems it should not have been gated with C++11 from the start since we apply LWG issues as DRs.
Hmm, I think [LWG2210](https://wg21.link/lwg2210) should be treated as a patch to paper [N2554](https://wg21.link/n2554), which was adopted for C++11 and determined design of allocator-aware containers. However, as libc++ used to backport C++11 features to C++03 mode whenever possible, I think we should also backport LWG2210 to C++03 as usual.
https://github.com/llvm/llvm-project/pull/204845
More information about the libcxx-commits
mailing list