Skip to content

[temp.constr.concept] Fix example #7791

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

lprv
Copy link
Contributor

@lprv lprv commented Mar 27, 2025

  • Give all template parameters a unique name for clarity
  • Replace use a of a reserved identifier
  • Fix the example's accompanying text, in particular the parameter mapping of the normal form of the concept-id after substitution

* Give all template parameters a unique name for clarity
* Replace use a of a reserved identifier
* Fix the example's accompanying text, in particular the parameter
  mapping of the normal form of the concept-id after substitution
@jensmaurer
Copy link
Member

@Eisenwave , is this good?

@Eisenwave
Copy link
Member

Eisenwave commented Mar 30, 2025

Did you mean to ping Thomas? I'm not sure how I'm involved in this.

In this example, the associated constraints of \tcode{f}
are a concept-dependent constraint
whose expression is the concept-id \tcode{CU<U, CT>} with the mapping
$\tcode{U} \mapsto \tcode{U}, \tcode{CT} \mapsto \tcode{CT}, \tcode{CU} \mapsto \tcode{CU}$.\\
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks, this is nice. Could we please also remove those manual linebreaks as much as possible, @lprv?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants