Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ operator new
Method
operator new
gecode/support/heap.hpp:414–417 ·
view source on GitHub ↗
* Heap allocated objects * */
Source
from the content-addressed store, hash-verified
412
*
413
*/
414
forceinline void*
415
HeapAllocated::operator new(size_t s) {
416
return heap.ralloc(s);
417
}
418
forceinline void
419
HeapAllocated::operator delete(void* p) {
420
heap.rfree(p);
Callers
nothing calls this directly
Calls
1
ralloc
Method · 0.45
Tested by
no test coverage detected