Skip to content

Commit 7849d49

Browse files
ArielG-NVtangent-vector
authored andcommitted
disallow additional syntax
1 parent 40f45c5 commit 7849d49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

proposals/031-coherent-pointer-operations-and-access.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,11 @@ All pointers can be casted to each other. Casting must be explicit.
232232
The following keyword use is disallowed:
233233
* `globallycoherent T*`
234234
* `coherent T*`.
235-
* `const T*`, `T const*`, and `T* const`
235+
* `const T*` and `T* const`
236236
* `Ptr<const T>`, `Ptr<coherent T>`, and `Ptr<globallycoherent T>`
237237

238+
239+
238240
### Explicitly allowed keywords
239241

240242
`const Ptr<int>` is permitted. This means that a `Ptr` is constant, the address the pointer is pointing at will not change.

0 commit comments

Comments
 (0)