Dune Core Modules (2.8.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.

Deprecated:
Use std::is_invocable from <type_traits>
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::integral_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 (Dec 22, 23:30, 2024)