Skip to content

Conversation

@sigasigasiga
Copy link

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3168r2.html

The paper also adds following template specializations, but I don't have any idea on how to implement them without __has_include which is available only since C++17

template<class T>
constexpr bool ranges::enable_view<optional<T>> = true;   
template<class T>
constexpr auto format_kind<optional<T>> = range_format::disabled;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant