3 ms·
One can use ::new(std::nothrow), which selects the non-throwing allocation function. Returns nullptr on failure.
by steerablesafe 5y ago
One can use ::new(std::nothrow), which selects the non-throwing allocation function. Returns nullptr on failure.