GSL.assert: replace is by are (#908)

pull/909/head
ewoudvc 9 years ago committed by Jonathan Wakely
parent e3fe0c5b5e
commit caa86ae38b

@ -19134,7 +19134,7 @@ Use `not_null<zstring>` for C-style strings that cannot be `nullptr`. ??? Do we
// `Expect` in under control of some options (enforcement, error message, alternatives to terminate)
* `Ensures` // postcondition assertion. Currently placed in function bodies. Later, should be moved to declarations.
These assertions is currently macros (yuck!) and must appear in function definitions (only)
These assertions are currently macros (yuck!) and must appear in function definitions (only)
pending standard commission decisions on contracts and assertion syntax.
See [the contract proposal](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0380r1.pdf); using the attribute syntax,
for example, `Expects(p!=nullptr)` will become `[[expects: p!=nullptr]]`.

Loading…
Cancel
Save