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

Use "models" for concepts, and "meets" for non-concept requirements with semantics #2640

Closed
wants to merge 2 commits into from

Conversation

CaseyCarter
Copy link
Contributor

@CaseyCarter CaseyCarter commented Jan 6, 2019

[updated by @jensmaurer]

Fixes #1263.
Fixes #2591.

so as to avoid potential confusion.
…pt requirements

...and use "satisfies" only with pure predicates  - those without semantic requirements - including concepts when only the syntactic requirements are intended.

Fixes cplusplus#2591.
Types \tcode{Derived} and \tcode{Base} model
\tcode{\libconcept{DerivedFrom}<Derived, Base>} when they are class types and
either \tcode{Derived} is publicly and unambiguously derived from \tcode{Base},
or \tcode{Derived} and \tcode{Base} are the same type ignoring cv-qualifiers.
Copy link
Member

Choose a reason for hiding this comment

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

Could you extract this change and the following one into a separate pull request, please? This is not strictly a "satisfy" -> "meet" change and therefore makes review harder.

@zygoloid zygoloid added needs rebase The pull request needs a git rebase to resolve merge conflicts. changes requested Changes to the wording or approach have been requested and not yet applied. labels Jan 19, 2019
@jensmaurer
Copy link
Member

@CaseyCarter , this needs a bit of work.

@CaseyCarter
Copy link
Contributor Author

@CaseyCarter , this needs a bit of work.

I can get to this tomorrow; have you folks chosen a deadline for the post-Kona draft yet?

@CaseyCarter
Copy link
Contributor Author

Submitting this as separate PRs.

@CaseyCarter CaseyCarter deleted the models branch December 16, 2019 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes requested Changes to the wording or approach have been requested and not yet applied. needs rebase The pull request needs a git rebase to resolve merge conflicts.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants