Struct is_callable_tester

Synopsis

#include <include/internal/catch_meta.hpp>

struct is_callable_tester

Description

No description yet.

Methods

test overload

Source

Lines 19-24 in include/internal/catch_meta.hpp.

struct is_callable_tester {
    template <typename Fun, typename... Args>
    true_given<decltype(std::declval<Fun>()(std::declval<Args>()...))> static test(int);
    template <typename...>
    std::false_type static test(...);
};





Add Discussion as Guest

Log in