[libcxx-commits] [libcxx] [libc++] Remove the allocator<const T> extension (PR #102655)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Aug 15 08:32:53 PDT 2024
================
@@ -62,7 +62,7 @@ Deprecations and Removals
``_LIBCPP_ENABLE_REMOVED_WEEKDAY_RELATIONAL_OPERATORS`` macro that was used to re-enable this extension will be
ignored in LLVM 20.
-- TODO: The ``_LIBCPP_ENABLE_REMOVED_ALLOCATOR_CONST`` macro will no longer have an effect.
+- The ``_LIBCPP_ENABLE_REMOVED_ALLOCATOR_CONST`` macro will no longer have an effect.
----------------
ldionne wrote:
```suggestion
- The ``_LIBCPP_ENABLE_REMOVED_ALLOCATOR_CONST`` macro no longer has any effect. ``std::allocator<const T>`` is not supported as an extension anymore, please migrate any code that uses e.g. ``std::vector<const T>`` to be standards conforming.
```
https://github.com/llvm/llvm-project/pull/102655
More information about the libcxx-commits
mailing list