MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / operator new

Function operator new

include/stdexec/__detail/__task.hpp:649–652  ·  view source on GitHub ↗

When no allocator passed to the coroutine:

Source from the content-addressed store, hash-verified

647
648 // When no allocator passed to the coroutine:
649 static void* operator new(size_t __bytes)
650 {
651 return __promise::operator new(__bytes, std::allocator_arg, std::allocator<std::byte>{});
652 }
653
654 static void operator delete(void* __ptr, size_t __bytes) noexcept
655 {

Callers 2

allocateMethod · 0.85
allocateMethod · 0.85

Calls 1

__divmodFunction · 0.85

Tested by 1

allocateMethod · 0.68