Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions icu4c/source/common/unicode/utfiterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -1749,6 +1749,9 @@ auto utfIterator(UnitIter p) {
* @see utfStringCodePoints
*/
template<typename CP32, UTFIllFormedBehavior behavior, typename Range>
#if defined(__cpp_lib_ranges)
requires std::ranges::range<Range>
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
requires std::ranges::range<Range>
requires std::ranges::range<Range>

#endif
class UTFStringCodePoints {
static_assert(sizeof(CP32) == 4, "CP32 must be a 32-bit type to hold a code point");
public:
Expand Down
Loading