MCPcopy Create free account
hub / github.com/Profactor/cv-plot / ~Pimpl

Method ~Pimpl

CvPlot/inc/CvPlot/Internal/Pimpl.h:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 : m(new T(std::forward<Args>(args)...)) {
21 }
22 ~Pimpl() {
23 static_assert(0 < sizeof(T), "Pimpl error: Missing destructor in the pimpled class?");
24 }
25 T* operator->() {
26 return m.get();
27 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected