MCPcopy Create free account
hub / github.com/Singular/Singular / vnew

Function vnew

kernel/oswrapper/vspace.h:539–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

537
538template <typename T>
539VRef<T> vnew() {
540 VRef<T> result = VRef<T>::alloc();
541 new (result.to_ptr()) T();
542 return result;
543}
544
545template <typename T>
546VRef<T> vnew_uninitialized() {

Callers

nothing calls this directly

Calls 1

to_ptrMethod · 0.45

Tested by

no test coverage detected