Function invoke

Synopsis

#include <include/internal/benchmark/detail/catch_complete_invoke.hpp>

template <typename Fun, typename... Args>
static CompleteType_t< void > invoke(Fun &&fun, Args &&... args)

Description

No description yet.

Source

Lines 40-44 in include/internal/benchmark/detail/catch_complete_invoke.hpp.

template <typename Fun, typename... Args>
static CompleteType_t<void> invoke(Fun&& fun, Args&&... args) {
    std::forward<Fun>(fun)(std::forward<Args>(args)...);
    return {};
}





Add Discussion as Guest

Log in