Skip to content

Commit

Permalink
Containers: doc++
Browse files Browse the repository at this point in the history
  • Loading branch information
mosra committed Nov 8, 2019
1 parent 1cb84a5 commit 7eb7ea2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Corrade/Containers/Array.h
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,11 @@ class Array {
/**
* @brief Release data storage
*
* Returns the data pointer and resets internal state to default.
* Deleting the returned array is user responsibility.
* Returns the data pointer and resets internal state to be equivalent
* to a default-constructed instance. Deleting the returned array is
* user responsibility --- note the array might have a custom
* @ref deleter() and so @cpp delete @ce might not be always
* appropriate.
*/
T* release();

Expand Down

0 comments on commit 7eb7ea2

Please sign in to comment.