File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 6
6
7
7
/*
8
8
22.5.2 Header <optional> synopsis[optional.syn]
9
- 🔗
10
9
11
10
#include <compare> // see [compare.syn]
12
11
@@ -210,23 +209,20 @@ class optional;
210
209
211
210
} // namespace beman::optional26
212
211
213
- namespace std {
214
212
// Since P3168R2: Give std::optional Range Support.
215
213
template <typename T>
216
- inline constexpr bool ranges::enable_view<beman::optional26::optional<T>> = true ;
214
+ inline constexpr bool std:: ranges::enable_view<beman::optional26::optional<T>> = true ;
217
215
218
216
// TODO: document why this is needed.
219
217
template <typename T>
220
- inline constexpr bool ranges::enable_borrowed_range<beman::optional26::optional<T&>> = true ;
218
+ inline constexpr bool std:: ranges::enable_borrowed_range<beman::optional26::optional<T&>> = true ;
221
219
222
220
// Since P3168R2: Give std::optional Range Support.
223
221
#if defined(__cpp_lib_format_ranges)
224
222
template <class T >
225
- inline constexpr auto format_kind<beman::optional26::optional<T>> = range_format::disabled;
223
+ inline constexpr auto std:: format_kind<beman::optional26::optional<T>> = range_format::disabled;
226
224
#endif
227
225
228
- } // namespace std
229
-
230
226
namespace beman ::optional26 {
231
227
template <class T >
232
228
concept is_derived_from_optional = requires (const T& t) { []<class U >(const optional<U>&) {}(t); };
You can’t perform that action at this time.
0 commit comments