mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Clarified writeonly
This commit is contained in:
parent
4880f61a8b
commit
e4ed6faa63
|
@ -12866,7 +12866,7 @@ These assertions is currently macros (yuck!) pending standard commission decisio
|
||||||
* `narrow` // `narrow<T>(x)` is `static_cast<T>(x)` if `static_cast<T>(x) == x` or it throws `narrowing_error`
|
* `narrow` // `narrow<T>(x)` is `static_cast<T>(x)` if `static_cast<T>(x) == x` or it throws `narrowing_error`
|
||||||
* `[[implicit]]` // "Marker" to put on single-argument constructors to explicitly make them non-explicit.
|
* `[[implicit]]` // "Marker" to put on single-argument constructors to explicitly make them non-explicit.
|
||||||
* `move_owner` // `p = move_owner(q)` means `p = q` but ???
|
* `move_owner` // `p = move_owner(q)` means `p = q` but ???
|
||||||
* `writeonly` // `writeonly<T>` where `T` is a pointer, reference or span; only non-`const` operations on the `T` object
|
* `writeonly` // `writeonly<prs<T>>` where `prs` is a pointer, reference or span; only non-`const` operations on `T`
|
||||||
|
|
||||||
## <a name="SS-gsl-concepts"></a> GSL.concept: Concepts
|
## <a name="SS-gsl-concepts"></a> GSL.concept: Concepts
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user