[libcxx-commits] [libcxx] [libc++] P3168R2 Give std::optional Range Support (PR #146491)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 1 06:35:20 PDT 2025
================
@@ -566,6 +581,13 @@ using __optional_sfinae_assign_base_t _LIBCPP_NODEBUG =
template <class _Tp>
class optional;
+# if _LIBCPP_STD_VER >= 26
+
+template <typename _Tp>
+class __optional_iterator;
+
+# endif // _LIBCPP_STD_VER >= 26
----------------
philnik777 wrote:
Why is this needed?
https://github.com/llvm/llvm-project/pull/146491
More information about the libcxx-commits
mailing list