Skip to content

Commit

Permalink
[0010] Fix typo (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-lunarg authored Nov 14, 2023
1 parent 44c891b commit 796750e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proposals/0010-vk-buffer-ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ This new type will have the following operations
Note the operations that are not allowed:

* There is no default construction. Every vk::BufferPointer<T> is either contained in a global resource (like a cbuffer, ubo, or ssbo), or it must be constructed using the copy constructor.
* There is no explicit pointer arithmetic. All addressing is implicitly done using the `.` pointer, or indexing an array in the struct T.
* There is no explicit pointer arithmetic. All addressing is implicitly done using the `.` operator, or indexing an array in the struct T.
* The comparison operators == and != are not supported for buffer pointers.

Most of these restrictions are there for safety. They minimize the possibility of getting an invalid pointer. If the Get() method is used on a null or invalid pointer, the behaviour is undefined.
Expand Down

0 comments on commit 796750e

Please sign in to comment.