[utility.arg.requirements] reformat in a style like [container.reqmts] - #9142
[utility.arg.requirements] reformat in a style like [container.reqmts]#9142notdanhan wants to merge 1 commit into
Conversation
| \result | ||
| \tcode{decltype(a == b)} models \exposconceptx{boolean-testa\-ble}{boolean-testable} |
There was a problem hiding this comment.
Do we need to say decltype(expr) in Result? I think Result is already specifying the result type and value category of the expression in decltype-style.
There was a problem hiding this comment.
I'm actually not sure, should I just keep the exposition concept here?
|
This is awesome, thank you very much, @notdanhan! |
|
@notdanhan do also feel free to sqash, rebase and force-submit at some point. Having the full edit history isn't so important at this point. |
d0cfaa5 to
91eeb2e
Compare
|
Notes: |
| with \tcode{Key} as the function call argument type, | ||
| the \oldconcept{DefaultConstructible} requirements\iref{cpp17.defaultconstructible}, | ||
| the \oldconcept{Swappable} requirements\iref{swappable.requirements}, | ||
| the \oldconcept{CopyAssignable} requirements~\iref{cpp17.copyassignable}, |
There was a problem hiding this comment.
this was moved to the end to stop hbox badness
| meet the \oldconcept{EqualityComparable} (\tref{cpp17.equalitycomparable}) and | ||
| \oldconcept{LessThanComparable} (\tref{cpp17.lessthancomparable}) | ||
| and \oldconcept{Swappable}\iref{swappable.requirements} | ||
| meet the \oldconcept{Swappable}\iref{swappable.requirements} and |
There was a problem hiding this comment.
Swappable and EqualityComparable were swapped to avoid hbox badness
It looks like this now
Additional work was needed to change some
\tref{}to\iref{}across the document, along with two reflows of paragraphs to stop hbox badnessI did some mild rewording in source/lib-intro.tex to make it make sense in the new format. I hope to have not introduced any wording defects! :)