Repository navigation
Replace std::uc namespace with std::ranges and std::views #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -71,7 +71,7 @@ namespace detail { | |
|
|
||
| } // namespace detail | ||
|
|
||
| /* PAPER: namespace std::uc { */ | ||
| /* PAPER: namespace std::ranges { */ | ||
|
|
||
| /* PAPER */ | ||
|
|
||
|
|
@@ -1160,6 +1160,8 @@ inline constexpr detail::to_utf_impl<char16_t> to_utf16; | |
|
|
||
| inline constexpr detail::to_utf_impl<char32_t> to_utf32; | ||
|
|
||
| /* PAPER: namespace views { */ | ||
| /* PAPER: */ | ||
| /* PAPER: template<@*code-unit-to*@ ToType> */ | ||
| /* PAPER: inline constexpr @*unspecified*@ to_utf; */ | ||
| /* PAPER: */ | ||
|
|
@@ -1168,11 +1170,13 @@ inline constexpr detail::to_utf_impl<char32_t> to_utf32; | |
| /* PAPER: inline constexpr @*unspecified*@ to_utf16; */ | ||
| /* PAPER: */ | ||
| /* PAPER: inline constexpr @*unspecified*@ to_utf32; */ | ||
| /* PAPER: */ | ||
| /* PAPER: } */ | ||
| /* PAPER: */ | ||
| /* PAPER: } */ | ||
|
|
||
| } // namespace beman::utf_view | ||
|
|
||
| /* PAPER: } */ | ||
|
|
||
| template <class ToType, class V> | ||
| inline constexpr bool std::ranges::enable_borrowed_range< | ||
| beman::utf_view::exposition_only_to_utf_view_impl<ToType, V>> = | ||
|
|
@@ -1194,16 +1198,16 @@ inline constexpr bool std::ranges::enable_borrowed_range<beman::utf_view::to_utf | |
| /* PAPER: */ | ||
| /* PAPER: template <class ToType, class V> */ | ||
| /* PAPER: inline constexpr bool enable_borrowed_range< */ | ||
| /* PAPER: std::uc::exposition_only_to_utf_view_impl<ToType, V>> = enable_borrowed_range<V>; */ | ||
| /* PAPER: std::exposition_only_to_utf_view_impl<ToType, V>> = enable_borrowed_range<V>; */ | ||
| /* PAPER: */ | ||
| /* PAPER: template <class V> */ | ||
| /* PAPER: inline constexpr bool enable_borrowed_range<std::uc::to_utf8_view<V>> = enable_borrowed_range<V>; */ | ||
| /* PAPER: inline constexpr bool enable_borrowed_range<std::to_utf8_view<V>> = enable_borrowed_range<V>; */ | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And two more places below
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oops, thanks for catching these. It's now moot though, because in the latest revision these lines have been removed since the view is no longer borrowed. |
||
| /* PAPER: */ | ||
| /* PAPER: template <class V> */ | ||
| /* PAPER: inline constexpr bool enable_borrowed_range<std::uc::to_utf16_view<V>> = enable_borrowed_range<V>; */ | ||
| /* PAPER: inline constexpr bool enable_borrowed_range<std::to_utf16_view<V>> = enable_borrowed_range<V>; */ | ||
| /* PAPER: */ | ||
| /* PAPER: template <class V> */ | ||
| /* PAPER: inline constexpr bool enable_borrowed_range<std::uc::to_utf32_view<V>> = enable_borrowed_range<V>; */ | ||
| /* PAPER: inline constexpr bool enable_borrowed_range<std::to_utf32_view<V>> = enable_borrowed_range<V>; */ | ||
| /* PAPER: */ | ||
| /* PAPER: } */ | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be
std::ranges?