@@ -986,7 +986,7 @@ optional(_Tp) -> optional<_Tp>;
986986
987987// [optional.relops] Relational operators
988988
989- # if _LIBCPP_STD_VER < 26
989+ # if _LIBCPP_STD_VER >= 26
990990template < class _Tp , class _Up >
991991# else
992992template <
@@ -1008,7 +1008,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator==(const optional<_Tp>& __x, const
10081008 return *__x == *__y;
10091009}
10101010
1011- # if _LIBCPP_STD_VER < 26
1011+ # if _LIBCPP_STD_VER >= 26
10121012template < class _Tp , class _Up >
10131013# else
10141014template <
@@ -1030,7 +1030,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator!=(const optional<_Tp>& __x, const
10301030 return *__x != *__y;
10311031}
10321032
1033- # if _LIBCPP_STD_VER < 26
1033+ # if _LIBCPP_STD_VER >= 26
10341034template < class _Tp , class _Up >
10351035# else
10361036template <
@@ -1052,7 +1052,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator<(const optional<_Tp>& __x, const o
10521052 return *__x < *__y;
10531053}
10541054
1055- # if _LIBCPP_STD_VER < 26
1055+ # if _LIBCPP_STD_VER >= 26
10561056template < class _Tp , class _Up >
10571057# else
10581058template <
@@ -1074,7 +1074,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator>(const optional<_Tp>& __x, const o
10741074 return *__x > *__y;
10751075}
10761076
1077- # if _LIBCPP_STD_VER < 26
1077+ # if _LIBCPP_STD_VER >= 26
10781078template < class _Tp , class _Up >
10791079# else
10801080template <
@@ -1096,7 +1096,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator<=(const optional<_Tp>& __x, const
10961096 return *__x <= *__y;
10971097}
10981098
1099- # if _LIBCPP_STD_VER < 26
1099+ # if _LIBCPP_STD_VER >= 26
11001100template < class _Tp , class _Up >
11011101# else
11021102template <
@@ -1205,7 +1205,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr strong_ordering operator<=>(const optional<_Tp>&
12051205
12061206// [optional.comp.with.t] Comparison with T
12071207
1208- # if _LIBCPP_STD_VER < 26
1208+ # if _LIBCPP_STD_VER >= 26
12091209template < class _Tp , class _Up >
12101210# else
12111211template <
@@ -1223,7 +1223,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator==(const optional<_Tp>& __x, const
12231223 return static_cast <bool >(__x) ? *__x == __v : false ;
12241224}
12251225
1226- # if _LIBCPP_STD_VER < 26
1226+ # if _LIBCPP_STD_VER >= 26
12271227template < class _Tp , class _Up >
12281228# else
12291229template <
@@ -1241,7 +1241,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator==(const _Tp& __v, const optional<_
12411241 return static_cast <bool >(__x) ? __v == *__x : false ;
12421242}
12431243
1244- # if _LIBCPP_STD_VER < 26
1244+ # if _LIBCPP_STD_VER >= 26
12451245template < class _Tp , class _Up >
12461246# else
12471247template <
@@ -1259,7 +1259,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator!=(const optional<_Tp>& __x, const
12591259 return static_cast <bool >(__x) ? *__x != __v : true ;
12601260}
12611261
1262- # if _LIBCPP_STD_VER < 26
1262+ # if _LIBCPP_STD_VER >= 26
12631263template < class _Tp , class _Up >
12641264# else
12651265template <
@@ -1277,7 +1277,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator!=(const _Tp& __v, const optional<_
12771277 return static_cast <bool >(__x) ? __v != *__x : true ;
12781278}
12791279
1280- # if _LIBCPP_STD_VER < 26
1280+ # if _LIBCPP_STD_VER >= 26
12811281template < class _Tp , class _Up >
12821282# else
12831283template <
@@ -1295,7 +1295,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator<(const optional<_Tp>& __x, const _
12951295 return static_cast <bool >(__x) ? *__x < __v : true ;
12961296}
12971297
1298- # if _LIBCPP_STD_VER < 26
1298+ # if _LIBCPP_STD_VER >= 26
12991299template < class _Tp , class _Up >
13001300# else
13011301template <
@@ -1313,7 +1313,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator<(const _Tp& __v, const optional<_U
13131313 return static_cast <bool >(__x) ? __v < *__x : false ;
13141314}
13151315
1316- # if _LIBCPP_STD_VER < 26
1316+ # if _LIBCPP_STD_VER >= 26
13171317template < class _Tp , class _Up >
13181318# else
13191319template <
@@ -1331,7 +1331,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator<=(const optional<_Tp>& __x, const
13311331 return static_cast <bool >(__x) ? *__x <= __v : true ;
13321332}
13331333
1334- # if _LIBCPP_STD_VER < 26
1334+ # if _LIBCPP_STD_VER >= 26
13351335template < class _Tp , class _Up >
13361336# else
13371337template <
@@ -1349,7 +1349,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator<=(const _Tp& __v, const optional<_
13491349 return static_cast <bool >(__x) ? __v <= *__x : false ;
13501350}
13511351
1352- # if _LIBCPP_STD_VER < 26
1352+ # if _LIBCPP_STD_VER >= 26
13531353template < class _Tp , class _Up >
13541354# else
13551355template <
@@ -1367,7 +1367,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator>(const optional<_Tp>& __x, const _
13671367 return static_cast <bool >(__x) ? *__x > __v : false ;
13681368}
13691369
1370- # if _LIBCPP_STD_VER < 26
1370+ # if _LIBCPP_STD_VER >= 26
13711371template < class _Tp , class _Up >
13721372# else
13731373template <
@@ -1385,7 +1385,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator>(const _Tp& __v, const optional<_U
13851385 return static_cast <bool >(__x) ? __v > *__x : true ;
13861386}
13871387
1388- # if _LIBCPP_STD_VER < 26
1388+ # if _LIBCPP_STD_VER >= 26
13891389template < class _Tp , class _Up >
13901390# else
13911391template <
@@ -1403,7 +1403,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator>=(const optional<_Tp>& __x, const
14031403 return static_cast <bool >(__x) ? *__x >= __v : false ;
14041404}
14051405
1406- # if _LIBCPP_STD_VER < 26
1406+ # if _LIBCPP_STD_VER >= 26
14071407template < class _Tp , class _Up >
14081408# else
14091409template <
0 commit comments