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
[ranges] Shorten and adjust stable labels #2517
Conversation
Some of the iterator concept stable names are a bit unmanageable as well, e.g., I also apologize for |
@CaseyCarter, I'll try [common.alg.req.ind.cmp] etc. Do we even need "common" in front? [alg.req...] seems good enough. |
Regarding [iterator.concept.weaklyincrementable]: Regrettably, none of the other stable labels in the vicinity abbreviate "iterator" as "iter". I've abbreviate the stuff at the end a bit. |
template<class I> | ||
concept Incrementable = @\seebelow@; | ||
|
||
// \ref{iterator.concept.iterator}, concept \tcode{Iterator} | ||
template<class I> | ||
concept Iterator = @\seebelow@; | ||
|
||
// \ref{iterator.concept.incrementable}, concept \tcode{Sentinel} | ||
// \ref{iterator.concept.sentinel}, concept \tcode{Sentinel} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch.
[alg.req] could be easily confused with [algorithms.requirements], but I'm not concerned that this will be a problem in practice since [alg.req] contains only subclauses and [algorithms.requirements] contains only paragraphs. Thanks for the cleanup. |
Fixes #2513.