MCPcopy Create free account
hub / github.com/aarnphm/whispercpp / make_unique

Function make_unique

src/whispercpp/api_cpp2py_export.h:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36template <class T, class... Args>
37typename _Unique_if<T>::_Single_object make_unique(Args &&...args) {
38 return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
39}
40
41template <class T>
42typename _Unique_if<T>::_Unknown_bound make_unique(size_t n) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected