Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add operator<=> and remove operator< operator and compareTo function (issue 155)#160

Merged
FrankYFTang merged 4 commits intounicode-org:mainfrom
FrankYFTang:try3ways
Jul 22, 2025
Merged

Add operator<=> and remove operator< operator and compareTo function (issue 155)#160
FrankYFTang merged 4 commits intounicode-org:mainfrom
FrankYFTang:try3ways

Conversation

Copy link
Collaborator

FrankYFTang commented Jul 9, 2025 *
edited
Loading

Address #155

Also correct the comparsion of LocaleUtil and the test which depend on reverse behavior.

FrankYFTang requested a review from grhoten July 9, 2025 00:29
Copy link
Collaborator Author

FrankYFTang commented Jul 14, 2025

@grhoten any opinion about this?

Copy link
Collaborator Author

FrankYFTang commented Jul 15, 2025

@nciric @markusicu and I discussed this in our weekly meeting and we dig into one of our portability document and find we may have problem to land this change due to the C++20 requirement. I would like to abandon this efforts but take some issue I learn from this PR to a different PR to address some issues I discovered and fix in this PR.

Copy link
Collaborator Author

FrankYFTang commented Jul 15, 2025

Park this PR until we all feel comfortable to require C++20

FrankYFTang closed this Jul 15, 2025
Copy link
Collaborator Author

FrankYFTang commented Jul 15, 2025

have some 2nd thought. reopen it. we should face to face discuss this first.

FrankYFTang reopened this Jul 15, 2025
FrankYFTang mentioned this pull request Jul 22, 2025
grhoten approved these changes Jul 22, 2025
FrankYFTang merged commit 6a1f6c5 into unicode-org:main Jul 22, 2025
6 checks passed
FrankYFTang deleted the try3ways branch July 22, 2025 16:32
deonajulary06 pushed a commit that referenced this pull request Aug 21, 2025
...(issue 155) (#160)

* Remove operator< and compareTo and add operator<=>

* Update ULocale.hpp

* Fix hash test. Ensure the comparator sort correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

grhoten grhoten approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants