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

Function deoptimize_value

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

Source from the content-addressed store, hash-verified

6454
6455 template <typename T>
6456 inline void deoptimize_value(T&& x) {
6457 keep_memory(&x);
6458 }
6459
6460 template <typename Fn, typename... Args>
6461 inline auto invoke_deoptimized(Fn&& fn, Args&&... args) -> typename std::enable_if<!std::is_same<void, decltype(fn(args...))>::value>::type {

Callers 1

invoke_deoptimizedFunction · 0.85

Calls 1

keep_memoryFunction · 0.85

Tested by

no test coverage detected