MCPcopy Create free account
hub / github.com/davisking/dlib / binder_run

Function binder_run

dlib/functional.h:316–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314
315 template<class Binder, std::size_t ...I, class ...Rest>
316 constexpr static auto binder_run(
317 Binder&& self,
318 std::integral_constant<bool, false>,
319 index_sequence<I...>,
320 Rest&&... rest
321 ) noexcept(noexcept(dlib::invoke(std::forward<Binder>(self).func, std::get<I>(std::forward<Binder>(self).args)..., std::forward<Rest>(rest)...)))
322 -> decltype(dlib::invoke(std::forward<Binder>(self).func, std::get<I>(std::forward<Binder>(self).args)..., std::forward<Rest>(rest)...))
323 {
324 return dlib::invoke(std::forward<Binder>(self).func, std::get<I>(std::forward<Binder>(self).args)..., std::forward<Rest>(rest)...);
325 }
326
327 template<class Binder, std::size_t ...I, class ...Rest>
328 constexpr static auto binder_run(

Callers 1

operator()Method · 0.85

Calls 1

invokeFunction · 0.85

Tested by

no test coverage detected