MCPcopy Create free account
hub / github.com/WheretIB/nullc / construct

Function construct

NULLC/stdafx.h:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47 template<typename T>
48 static T* construct()
49 {
50 return new(alloc(sizeof(T))) T();
51 }
52 template<typename T>
53 static T* construct(int count)
54 {

Callers 2

allocate_pageMethod · 0.85
createMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected