Skip to content

Commit

Permalink
Merge pull request #501 from KhronosGroup/mkinsner-allocator-may-fail
Browse files Browse the repository at this point in the history
Improve default allocator wording
  • Loading branch information
gmlueck authored Dec 7, 2023
1 parent 937bab1 commit 70bf895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4119,8 +4119,8 @@ STL-based libraries (e.g, Intel's TBB provides an allocator).
==== Default allocators

A default allocator is always defined by the implementation.
For allocations greater than size zero, it is guaranteed to return
non-[code]#nullptr# and new memory positions every call.
For allocations greater than size zero, when successful it is guaranteed to
return non-[code]#nullptr# and new memory positions every call.
The default allocator for const buffers will remove the const-ness of the type
(therefore, the default allocator for a buffer of type [code]#const int# will be
an [code]#Allocator<int>)#.
Expand Down

0 comments on commit 70bf895

Please sign in to comment.