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
"pre:" and "post:" in container requirements tables #792
Comments
In [unord.req], we use "Pre:" as well as "Requires:". Can someone clue me in what the (supposed) difference is? |
No idea, I think it's just historical baggage, from a time when we were less formal about such things. The "pre:" entries are very old, the [unord.req] ones were added later, via TR1. It would be good to clean it up before (or as part of) P0411 Separating Library Requirements and Preconditions |
@jwakely: Ok, so replacing pre/post with \Requires and \Postcondition right now would put us in a good starting position for further massaging by P0411, right? |
Yes, I think so. My guess is that pre/post were used just to avoid wasting space in those table cells, for layout reasons. |
with \requires and \postcondition, respectively. Fixes cplusplus#792.
The container requirements tables introduce preconditions and postconditions with "pre:" and "post:", or sometimes "Pre:" and "Post:". Those are not italicized like Effects: etc. (and are not using LaTeX commands, just plain text, so are harder to see in the source).
We should format them consistently.
A better solution might fall out of @tkoeppe's suggestion on Issue #78 if we get rid of the tables, as we could use real Requires: and Postconditions: elements once we aren't constrained by the column width in those tables.
The text was updated successfully, but these errors were encountered: