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

Class _Unique_if

src/whispercpp/api_cpp2py_export.h:24–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22// std::make_unique for C++11
23// https://stackoverflow.com/a/17902439/8643197
24template <class T> struct _Unique_if {
25 typedef std::unique_ptr<T> _Single_object;
26};
27
28template <class T> struct _Unique_if<T[]> {
29 typedef std::unique_ptr<T[]> _Unknown_bound;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected