[libcxx-commits] [libcxx] [libc++][Docs] Document `std::optional` hardening (PR #218173)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 24 01:05:47 PDT 2026


================
@@ -440,6 +440,12 @@ CMake configuration time. The available options are:
 
   ABI impact: changes the iterator type of ``std::array``, its size and its layout.
 
+- ``_LIBCPP_ABI_BOUNDED_ITERATORS_IN_OPTIONAL`` -- changes the iterator type of ``std::optional`` to a
----------------
philnik777 wrote:

This macro is also missing an entry in `ABIGuarantees.rst`.

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


More information about the libcxx-commits mailing list