Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ operator new()

static void * stan::math::vari_base::operator new ( size_t  nbytes)
inlinestaticnoexceptinherited

Allocate memory from the underlying memory pool.

This memory is is managed as a whole externally.

Warning: Classes should not be allocated with this operator if they have non-trivial destructors.

Parameters
nbytesNumber of bytes to allocate.
Returns
Pointer to allocated bytes.

Definition at line 47 of file vari.hpp.