Skip to content

Replace std::uc namespace with std::ranges and std::views - #93

Merged
ednolan merged 1 commit into
mainfrom
enolan_namespace1
Oct 3, 2025
Merged

ednolan merged 1 commit into
mainfrom
enolan_namespace1

Conversation

@ednolan

@ednolan ednolan commented Oct 3, 2025

Copy link
Copy Markdown
Member

This change was recommended by Tom Honermann.

This change was recommended by Tom Honermann.
@ednolan
ednolan requested a review from camio as a code owner October 3, 2025 00:51
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 99.562%. remained the same
when pulling 4ba58e2 on enolan_namespace1
into 2c1f262 on main.

@ednolan
ednolan merged commit fd79d54 into main Oct 3, 2025
67 of 68 checks passed
@ednolan
ednolan deleted the enolan_namespace1 branch October 3, 2025 00:56
/* 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>; */

Copy link
Copy Markdown
Collaborator

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?

/* 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>; */

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ranges again here

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And two more places below

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The 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.

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.

3 participants