MCPcopy Create free account
hub / github.com/catboost/catboost / operator new

Method operator new

util/memory/pool.h:338–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336template <typename TPool>
337struct TPoolableBase {
338 inline void* operator new(size_t bytes, TPool& pool) {
339 return pool.Allocate(bytes);
340 }
341
342 inline void* operator new(size_t bytes, std::align_val_t align, TPool& pool) {
343 return pool.Allocate(bytes, (size_t)align);

Callers

nothing calls this directly

Calls 1

AllocateMethod · 0.45

Tested by

no test coverage detected