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

Method destruct_on_exit

CvPlot/ext/catch2/inc/catch.hpp:7358–7358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7356 // If this is a constructor benchmark, destruct the underlying object
7357 template <typename U>
7358 void destruct_on_exit(typename std::enable_if<Destruct, U>::type* = 0) { destruct<true>(); }
7359 // Otherwise, don't
7360 template <typename U>
7361 void destruct_on_exit(typename std::enable_if<!Destruct, U>::type* = 0) { }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected