@@ -1030,8 +1030,8 @@ template<class T>
1030
1030
template <class _Tp , class _Up >
1031
1031
_LIBCPP_INLINE_VISIBILITY constexpr
1032
1032
_EnableIf<
1033
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() ==
1034
- _VSTD:: declval<const _Up&>()), bool >,
1033
+ is_convertible_v<decltype(declval<const _Tp&>() ==
1034
+ declval<const _Up&>()), bool >,
1035
1035
bool
1036
1036
>
1037
1037
operator ==(const optional<_Tp>& __x, const optional<_Up>& __y)
@@ -1046,8 +1046,8 @@ operator==(const optional<_Tp>& __x, const optional<_Up>& __y)
1046
1046
template <class _Tp , class _Up >
1047
1047
_LIBCPP_INLINE_VISIBILITY constexpr
1048
1048
_EnableIf<
1049
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() !=
1050
- _VSTD:: declval<const _Up&>()), bool >,
1049
+ is_convertible_v<decltype(declval<const _Tp&>() !=
1050
+ declval<const _Up&>()), bool >,
1051
1051
bool
1052
1052
>
1053
1053
operator !=(const optional<_Tp>& __x, const optional<_Up>& __y)
@@ -1062,8 +1062,8 @@ operator!=(const optional<_Tp>& __x, const optional<_Up>& __y)
1062
1062
template <class _Tp , class _Up >
1063
1063
_LIBCPP_INLINE_VISIBILITY constexpr
1064
1064
_EnableIf<
1065
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() <
1066
- _VSTD:: declval<const _Up&>()), bool >,
1065
+ is_convertible_v<decltype(declval<const _Tp&>() <
1066
+ declval<const _Up&>()), bool >,
1067
1067
bool
1068
1068
>
1069
1069
operator <(const optional<_Tp>& __x, const optional<_Up>& __y)
@@ -1078,8 +1078,8 @@ operator<(const optional<_Tp>& __x, const optional<_Up>& __y)
1078
1078
template <class _Tp , class _Up >
1079
1079
_LIBCPP_INLINE_VISIBILITY constexpr
1080
1080
_EnableIf<
1081
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() >
1082
- _VSTD:: declval<const _Up&>()), bool >,
1081
+ is_convertible_v<decltype(declval<const _Tp&>() >
1082
+ declval<const _Up&>()), bool >,
1083
1083
bool
1084
1084
>
1085
1085
operator >(const optional<_Tp>& __x, const optional<_Up>& __y)
@@ -1094,8 +1094,8 @@ operator>(const optional<_Tp>& __x, const optional<_Up>& __y)
1094
1094
template <class _Tp , class _Up >
1095
1095
_LIBCPP_INLINE_VISIBILITY constexpr
1096
1096
_EnableIf<
1097
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() <=
1098
- _VSTD:: declval<const _Up&>()), bool >,
1097
+ is_convertible_v<decltype(declval<const _Tp&>() <=
1098
+ declval<const _Up&>()), bool >,
1099
1099
bool
1100
1100
>
1101
1101
operator <=(const optional<_Tp>& __x, const optional<_Up>& __y)
@@ -1110,8 +1110,8 @@ operator<=(const optional<_Tp>& __x, const optional<_Up>& __y)
1110
1110
template <class _Tp , class _Up >
1111
1111
_LIBCPP_INLINE_VISIBILITY constexpr
1112
1112
_EnableIf<
1113
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() >=
1114
- _VSTD:: declval<const _Up&>()), bool >,
1113
+ is_convertible_v<decltype(declval<const _Tp&>() >=
1114
+ declval<const _Up&>()), bool >,
1115
1115
bool
1116
1116
>
1117
1117
operator >=(const optional<_Tp>& __x, const optional<_Up>& __y)
@@ -1224,8 +1224,8 @@ operator>=(nullopt_t, const optional<_Tp>& __x) noexcept
1224
1224
template <class _Tp , class _Up >
1225
1225
_LIBCPP_INLINE_VISIBILITY constexpr
1226
1226
_EnableIf<
1227
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() ==
1228
- _VSTD:: declval<const _Up&>()), bool >,
1227
+ is_convertible_v<decltype(declval<const _Tp&>() ==
1228
+ declval<const _Up&>()), bool >,
1229
1229
bool
1230
1230
>
1231
1231
operator ==(const optional<_Tp>& __x, const _Up& __v)
@@ -1236,8 +1236,8 @@ operator==(const optional<_Tp>& __x, const _Up& __v)
1236
1236
template <class _Tp , class _Up >
1237
1237
_LIBCPP_INLINE_VISIBILITY constexpr
1238
1238
_EnableIf<
1239
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() ==
1240
- _VSTD:: declval<const _Up&>()), bool >,
1239
+ is_convertible_v<decltype(declval<const _Tp&>() ==
1240
+ declval<const _Up&>()), bool >,
1241
1241
bool
1242
1242
>
1243
1243
operator ==(const _Tp& __v, const optional<_Up>& __x)
@@ -1248,8 +1248,8 @@ operator==(const _Tp& __v, const optional<_Up>& __x)
1248
1248
template <class _Tp , class _Up >
1249
1249
_LIBCPP_INLINE_VISIBILITY constexpr
1250
1250
_EnableIf<
1251
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() !=
1252
- _VSTD:: declval<const _Up&>()), bool >,
1251
+ is_convertible_v<decltype(declval<const _Tp&>() !=
1252
+ declval<const _Up&>()), bool >,
1253
1253
bool
1254
1254
>
1255
1255
operator !=(const optional<_Tp>& __x, const _Up& __v)
@@ -1260,8 +1260,8 @@ operator!=(const optional<_Tp>& __x, const _Up& __v)
1260
1260
template <class _Tp , class _Up >
1261
1261
_LIBCPP_INLINE_VISIBILITY constexpr
1262
1262
_EnableIf<
1263
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() !=
1264
- _VSTD:: declval<const _Up&>()), bool >,
1263
+ is_convertible_v<decltype(declval<const _Tp&>() !=
1264
+ declval<const _Up&>()), bool >,
1265
1265
bool
1266
1266
>
1267
1267
operator !=(const _Tp& __v, const optional<_Up>& __x)
@@ -1272,8 +1272,8 @@ operator!=(const _Tp& __v, const optional<_Up>& __x)
1272
1272
template <class _Tp , class _Up >
1273
1273
_LIBCPP_INLINE_VISIBILITY constexpr
1274
1274
_EnableIf<
1275
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() <
1276
- _VSTD:: declval<const _Up&>()), bool >,
1275
+ is_convertible_v<decltype(declval<const _Tp&>() <
1276
+ declval<const _Up&>()), bool >,
1277
1277
bool
1278
1278
>
1279
1279
operator <(const optional<_Tp>& __x, const _Up& __v)
@@ -1284,8 +1284,8 @@ operator<(const optional<_Tp>& __x, const _Up& __v)
1284
1284
template <class _Tp , class _Up >
1285
1285
_LIBCPP_INLINE_VISIBILITY constexpr
1286
1286
_EnableIf<
1287
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() <
1288
- _VSTD:: declval<const _Up&>()), bool >,
1287
+ is_convertible_v<decltype(declval<const _Tp&>() <
1288
+ declval<const _Up&>()), bool >,
1289
1289
bool
1290
1290
>
1291
1291
operator <(const _Tp& __v, const optional<_Up>& __x)
@@ -1296,8 +1296,8 @@ operator<(const _Tp& __v, const optional<_Up>& __x)
1296
1296
template <class _Tp , class _Up >
1297
1297
_LIBCPP_INLINE_VISIBILITY constexpr
1298
1298
_EnableIf<
1299
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() <=
1300
- _VSTD:: declval<const _Up&>()), bool >,
1299
+ is_convertible_v<decltype(declval<const _Tp&>() <=
1300
+ declval<const _Up&>()), bool >,
1301
1301
bool
1302
1302
>
1303
1303
operator <=(const optional<_Tp>& __x, const _Up& __v)
@@ -1308,8 +1308,8 @@ operator<=(const optional<_Tp>& __x, const _Up& __v)
1308
1308
template <class _Tp , class _Up >
1309
1309
_LIBCPP_INLINE_VISIBILITY constexpr
1310
1310
_EnableIf<
1311
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() <=
1312
- _VSTD:: declval<const _Up&>()), bool >,
1311
+ is_convertible_v<decltype(declval<const _Tp&>() <=
1312
+ declval<const _Up&>()), bool >,
1313
1313
bool
1314
1314
>
1315
1315
operator <=(const _Tp& __v, const optional<_Up>& __x)
@@ -1320,8 +1320,8 @@ operator<=(const _Tp& __v, const optional<_Up>& __x)
1320
1320
template <class _Tp , class _Up >
1321
1321
_LIBCPP_INLINE_VISIBILITY constexpr
1322
1322
_EnableIf<
1323
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() >
1324
- _VSTD:: declval<const _Up&>()), bool >,
1323
+ is_convertible_v<decltype(declval<const _Tp&>() >
1324
+ declval<const _Up&>()), bool >,
1325
1325
bool
1326
1326
>
1327
1327
operator >(const optional<_Tp>& __x, const _Up& __v)
@@ -1332,8 +1332,8 @@ operator>(const optional<_Tp>& __x, const _Up& __v)
1332
1332
template <class _Tp , class _Up >
1333
1333
_LIBCPP_INLINE_VISIBILITY constexpr
1334
1334
_EnableIf<
1335
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() >
1336
- _VSTD:: declval<const _Up&>()), bool >,
1335
+ is_convertible_v<decltype(declval<const _Tp&>() >
1336
+ declval<const _Up&>()), bool >,
1337
1337
bool
1338
1338
>
1339
1339
operator >(const _Tp& __v, const optional<_Up>& __x)
@@ -1344,8 +1344,8 @@ operator>(const _Tp& __v, const optional<_Up>& __x)
1344
1344
template <class _Tp , class _Up >
1345
1345
_LIBCPP_INLINE_VISIBILITY constexpr
1346
1346
_EnableIf<
1347
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() >=
1348
- _VSTD:: declval<const _Up&>()), bool >,
1347
+ is_convertible_v<decltype(declval<const _Tp&>() >=
1348
+ declval<const _Up&>()), bool >,
1349
1349
bool
1350
1350
>
1351
1351
operator >=(const optional<_Tp>& __x, const _Up& __v)
@@ -1356,8 +1356,8 @@ operator>=(const optional<_Tp>& __x, const _Up& __v)
1356
1356
template <class _Tp , class _Up >
1357
1357
_LIBCPP_INLINE_VISIBILITY constexpr
1358
1358
_EnableIf<
1359
- is_convertible_v<decltype(_VSTD:: declval<const _Tp&>() >=
1360
- _VSTD:: declval<const _Up&>()), bool >,
1359
+ is_convertible_v<decltype(declval<const _Tp&>() >=
1360
+ declval<const _Up&>()), bool >,
1361
1361
bool
1362
1362
>
1363
1363
operator >=(const _Tp& __v, const optional<_Up>& __x)
0 commit comments