MCPcopy Create free account
hub / github.com/Dobiasd/FunctionalPlus / _timed_result

Method _timed_result

include/fplus/timed.hpp:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 private:
72 template <typename... Args>
73 auto _timed_result(Args&&... args)
74 {
75 fplus::stopwatch timer;
76 auto r = _fn(std::forward<Args>(args)...);
77 auto r_t = fplus::timed<decltype(r)>(r, timer.elapsed());
78 return r_t;
79 }
80
81 Fn _fn;
82 };

Callers

nothing calls this directly

Calls 1

elapsedMethod · 0.45

Tested by

no test coverage detected