MCPcopy Create free account
hub / github.com/couchbase/fleece / operator new

Method operator new

Fleece/Tree/MutableNode.hh:338–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336 }
337
338 static void* operator new(size_t size, unsigned capacity) {
339 return ::operator new(size + capacity*sizeof(NodeRef));
340 }
341
342 static void operator delete(void* ptr, unsigned capacity) {
343 ::operator delete(ptr);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected