Dune Core Modules (2.6.0)

Dune::Std::is_invocable< F, Args > Struct Template Reference

Traits class to check if function is invocable. More...

#include <dune/common/std/type_traits.hh>

Detailed Description

template<class F, class... Args>
struct Dune::Std::is_invocable< F, Args >

Traits class to check if function is invocable.

Template Parameters
FFunction to check
ArgsFunction arguments to check

This checks if F can be called with an arguments list of type Args.... The result is encoded by deriving from std::ingegral_constant<bool, result>.

This implements std::is_invocable from C++17.


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)