MCPcopy Create free account
hub / github.com/RenderKit/oidn / destruct_on_exit

Method destruct_on_exit

external/catch.hpp:7418–7418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7416 // If this is a constructor benchmark, destruct the underlying object
7417 template <typename U>
7418 void destruct_on_exit(typename std::enable_if<Destruct, U>::type* = 0) { destruct<true>(); }
7419 // Otherwise, don't
7420 template <typename U>
7421 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