[libcxx-commits] [libcxx] [libc++] Implement P0429R9 `std::flat_map` (PR #98643)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 27 12:22:22 PDT 2024


================
@@ -136,10 +136,16 @@ class _LIBCPP_TEMPLATE_VIS reverse_iterator
   _LIBCPP_HIDE_FROM_ABI constexpr pointer operator->() const
     requires is_pointer_v<_Iter> || requires(const _Iter __i) { __i.operator->(); }
   {
+    // std::prev does not work for bidirectional_iterator && !LegacyBidirectionalIterator
----------------
ldionne wrote:

This should be split into its own patch, which should also fix https://github.com/llvm/llvm-project/issues/109456

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


More information about the libcxx-commits mailing list