Skip to content
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

ICU-22879 Provide collator based predicates for use with STL algorithms #3149

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

roubert
Copy link
Member

@roubert roubert commented Sep 11, 2024

Checklist
  • Required: Issue filed: https://unicode-org.atlassian.net/browse/ICU-22879
  • Required: The PR title must be prefixed with a JIRA Issue number.
  • Required: The PR description must include the link to the Jira Issue, for example by completing the URL in the first checklist item
  • Required: Each commit message must be prefixed with a JIRA Issue number.
  • Issue accepted (done by Technical Committee after discussion)
  • Tests included, if applicable
  • API docs and/or User Guide docs changed or added, if applicable

ALLOW_MANY_COMMITS=true

@roubert roubert marked this pull request as draft September 11, 2024 14:06
@roubert roubert force-pushed the 22879 branch 3 times, most recently from 82c9a62 to e019452 Compare September 11, 2024 22:41
@roubert roubert marked this pull request as ready for review September 11, 2024 23:14
@jira-pull-request-webhook
Copy link

Notice: the branch changed across the force-push!

  • icu4c/source/test/intltest/collationtest.cpp is different

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

assertTrue("string", equal_to(std::string{TEXT_CHAR}, TEXT_CHAR));
}

void CollationTest::TestCollatorMap() {
Copy link
Member

Choose a reason for hiding this comment

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

I wanted to see how things would work with std::map, so I tried it out.

Might be worth putting examples using that to the API documentation.

Copy link
Member

Choose a reason for hiding this comment

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

Examples would be very good but not a blocker for this PR. Happy to re-approve with more examples, and also happy to approve a follow-up.

eggrobin
eggrobin previously approved these changes Sep 12, 2024
assertTrue("string", equal_to(std::string{TEXT_CHAR}, TEXT_CHAR));
}

void CollationTest::TestCollatorMap() {
Copy link
Member

Choose a reason for hiding this comment

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

Examples would be very good but not a blocker for this PR. Happy to re-approve with more examples, and also happy to approve a follow-up.

icu4c/source/test/intltest/collationtest.cpp Show resolved Hide resolved
docs/userguide/collation/api.md Show resolved Hide resolved
icu4c/source/i18n/unicode/ucol.h Outdated Show resolved Hide resolved
icu4c/source/test/intltest/collationtest.cpp Show resolved Hide resolved
@jira-pull-request-webhook
Copy link

Notice: the branch changed across the force-push!

  • docs/userguide/collation/api.md is different
  • icu4c/source/i18n/unicode/ucol.h is different

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

@jira-pull-request-webhook
Copy link

Hooray! The files in the branch are the same across the force-push. 😃

~ Your Friendly Jira-GitHub PR Checker Bot

@roubert roubert merged commit bfc5354 into unicode-org:main Sep 17, 2024
95 checks passed
@roubert roubert deleted the 22879 branch September 17, 2024 18:44
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