util/HugeAllocator: document std::bad_alloc
This commit is contained in:
parent
8662427d48
commit
11dbba3503
|
@ -42,6 +42,8 @@
|
||||||
* Allocate a huge amount of memory. This will be done in a way that
|
* Allocate a huge amount of memory. This will be done in a way that
|
||||||
* allows giving the memory back to the kernel as soon as we don't
|
* allows giving the memory back to the kernel as soon as we don't
|
||||||
* need it anymore. On the downside, this call is expensive.
|
* need it anymore. On the downside, this call is expensive.
|
||||||
|
*
|
||||||
|
* Throws std::bad_alloc on error
|
||||||
*/
|
*/
|
||||||
gcc_malloc
|
gcc_malloc
|
||||||
void *
|
void *
|
||||||
|
|
Loading…
Reference in New Issue