MCPcopy Create free account
hub / github.com/VCVRack/Rack / construct

Function construct

include/common.hpp:171–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169*/
170template <typename T>
171T* construct() {
172 return new T;
173}
174
175template <typename T, typename F, typename V, typename... Args>
176T* construct(F f, V v, Args... args) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected