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
[duration.cast, time.point.cast] Better subclause names #3298
Comments
Does the benefit of renaming these outweigh the cost though? |
I wonder. I couldn't think of any reasonable suggestion. I noticed this when I couldn't find the rounding functions in the table on contents. |
The best I could think of was moving the rounding functions to their own subclause, but that'd create more single-item subclauses, which are discouraged. |
Use the index or the search function in your favourite pdf reader. |
I agree the heading "duration_cast" is misleading if the respective subclause has more similar functions. Something like "Conversions" sounds plausible. |
These subclauses are named after the entities they originally described,
duration_cast
andtime_point_cast
. Since C++17, they also describefloor
,ceil
andround
entities, so better subclause names are in order. Perhaps also consider folding the single-entity subclause [time.duration.alg] "Algorithms" holdingabs
into [duration.cast].The text was updated successfully, but these errors were encountered: