@@ -986,7 +986,7 @@ optional(_Tp) -> optional<_Tp>;
986
986
987
987
// [optional.relops] Relational operators
988
988
989
- # if _LIBCPP_STD_VER < 26
989
+ # if _LIBCPP_STD_VER >= 26
990
990
template < class _Tp , class _Up >
991
991
# else
992
992
template <
@@ -1008,7 +1008,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator==(const optional<_Tp>& __x, const
1008
1008
return *__x == *__y;
1009
1009
}
1010
1010
1011
- # if _LIBCPP_STD_VER < 26
1011
+ # if _LIBCPP_STD_VER >= 26
1012
1012
template < class _Tp , class _Up >
1013
1013
# else
1014
1014
template <
@@ -1030,7 +1030,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator!=(const optional<_Tp>& __x, const
1030
1030
return *__x != *__y;
1031
1031
}
1032
1032
1033
- # if _LIBCPP_STD_VER < 26
1033
+ # if _LIBCPP_STD_VER >= 26
1034
1034
template < class _Tp , class _Up >
1035
1035
# else
1036
1036
template <
@@ -1052,7 +1052,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator<(const optional<_Tp>& __x, const o
1052
1052
return *__x < *__y;
1053
1053
}
1054
1054
1055
- # if _LIBCPP_STD_VER < 26
1055
+ # if _LIBCPP_STD_VER >= 26
1056
1056
template < class _Tp , class _Up >
1057
1057
# else
1058
1058
template <
@@ -1074,7 +1074,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator>(const optional<_Tp>& __x, const o
1074
1074
return *__x > *__y;
1075
1075
}
1076
1076
1077
- # if _LIBCPP_STD_VER < 26
1077
+ # if _LIBCPP_STD_VER >= 26
1078
1078
template < class _Tp , class _Up >
1079
1079
# else
1080
1080
template <
@@ -1096,7 +1096,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator<=(const optional<_Tp>& __x, const
1096
1096
return *__x <= *__y;
1097
1097
}
1098
1098
1099
- # if _LIBCPP_STD_VER < 26
1099
+ # if _LIBCPP_STD_VER >= 26
1100
1100
template < class _Tp , class _Up >
1101
1101
# else
1102
1102
template <
@@ -1205,7 +1205,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr strong_ordering operator<=>(const optional<_Tp>&
1205
1205
1206
1206
// [optional.comp.with.t] Comparison with T
1207
1207
1208
- # if _LIBCPP_STD_VER < 26
1208
+ # if _LIBCPP_STD_VER >= 26
1209
1209
template < class _Tp , class _Up >
1210
1210
# else
1211
1211
template <
@@ -1223,7 +1223,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator==(const optional<_Tp>& __x, const
1223
1223
return static_cast <bool >(__x) ? *__x == __v : false ;
1224
1224
}
1225
1225
1226
- # if _LIBCPP_STD_VER < 26
1226
+ # if _LIBCPP_STD_VER >= 26
1227
1227
template < class _Tp , class _Up >
1228
1228
# else
1229
1229
template <
@@ -1241,7 +1241,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator==(const _Tp& __v, const optional<_
1241
1241
return static_cast <bool >(__x) ? __v == *__x : false ;
1242
1242
}
1243
1243
1244
- # if _LIBCPP_STD_VER < 26
1244
+ # if _LIBCPP_STD_VER >= 26
1245
1245
template < class _Tp , class _Up >
1246
1246
# else
1247
1247
template <
@@ -1259,7 +1259,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator!=(const optional<_Tp>& __x, const
1259
1259
return static_cast <bool >(__x) ? *__x != __v : true ;
1260
1260
}
1261
1261
1262
- # if _LIBCPP_STD_VER < 26
1262
+ # if _LIBCPP_STD_VER >= 26
1263
1263
template < class _Tp , class _Up >
1264
1264
# else
1265
1265
template <
@@ -1277,7 +1277,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator!=(const _Tp& __v, const optional<_
1277
1277
return static_cast <bool >(__x) ? __v != *__x : true ;
1278
1278
}
1279
1279
1280
- # if _LIBCPP_STD_VER < 26
1280
+ # if _LIBCPP_STD_VER >= 26
1281
1281
template < class _Tp , class _Up >
1282
1282
# else
1283
1283
template <
@@ -1295,7 +1295,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator<(const optional<_Tp>& __x, const _
1295
1295
return static_cast <bool >(__x) ? *__x < __v : true ;
1296
1296
}
1297
1297
1298
- # if _LIBCPP_STD_VER < 26
1298
+ # if _LIBCPP_STD_VER >= 26
1299
1299
template < class _Tp , class _Up >
1300
1300
# else
1301
1301
template <
@@ -1313,7 +1313,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator<(const _Tp& __v, const optional<_U
1313
1313
return static_cast <bool >(__x) ? __v < *__x : false ;
1314
1314
}
1315
1315
1316
- # if _LIBCPP_STD_VER < 26
1316
+ # if _LIBCPP_STD_VER >= 26
1317
1317
template < class _Tp , class _Up >
1318
1318
# else
1319
1319
template <
@@ -1331,7 +1331,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator<=(const optional<_Tp>& __x, const
1331
1331
return static_cast <bool >(__x) ? *__x <= __v : true ;
1332
1332
}
1333
1333
1334
- # if _LIBCPP_STD_VER < 26
1334
+ # if _LIBCPP_STD_VER >= 26
1335
1335
template < class _Tp , class _Up >
1336
1336
# else
1337
1337
template <
@@ -1349,7 +1349,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator<=(const _Tp& __v, const optional<_
1349
1349
return static_cast <bool >(__x) ? __v <= *__x : false ;
1350
1350
}
1351
1351
1352
- # if _LIBCPP_STD_VER < 26
1352
+ # if _LIBCPP_STD_VER >= 26
1353
1353
template < class _Tp , class _Up >
1354
1354
# else
1355
1355
template <
@@ -1367,7 +1367,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator>(const optional<_Tp>& __x, const _
1367
1367
return static_cast <bool >(__x) ? *__x > __v : false ;
1368
1368
}
1369
1369
1370
- # if _LIBCPP_STD_VER < 26
1370
+ # if _LIBCPP_STD_VER >= 26
1371
1371
template < class _Tp , class _Up >
1372
1372
# else
1373
1373
template <
@@ -1385,7 +1385,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator>(const _Tp& __v, const optional<_U
1385
1385
return static_cast <bool >(__x) ? __v > *__x : true ;
1386
1386
}
1387
1387
1388
- # if _LIBCPP_STD_VER < 26
1388
+ # if _LIBCPP_STD_VER >= 26
1389
1389
template < class _Tp , class _Up >
1390
1390
# else
1391
1391
template <
@@ -1403,7 +1403,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr bool operator>=(const optional<_Tp>& __x, const
1403
1403
return static_cast <bool >(__x) ? *__x >= __v : false ;
1404
1404
}
1405
1405
1406
- # if _LIBCPP_STD_VER < 26
1406
+ # if _LIBCPP_STD_VER >= 26
1407
1407
template < class _Tp , class _Up >
1408
1408
# else
1409
1409
template <
0 commit comments