DUNE-ACFEM (unstable)

isapplicableto.hh
1#ifndef __DUNE_ACFEM_COMMON_ISAPPLICABLETO_HH__
2#define __DUNE_ACFEM_COMMON_ISAPPLICABLETO_HH__
3
4#include "../types.hh"
5#include "../../mpl/typetuple.hh"
6
7namespace Dune {
8
9 namespace ACFem {
10
24 template<class E, class F>
26 : std::is_invocable<F, E>
27 {};
28
29 template<class... E, class F>
30 struct IsApplicableTo<MPL::TypeTuple<E...>, F>
31 : std::is_invocable<F, E...>
32 {};
33
35
37
38 } // ACFem::
39
40} // Dune::
41
42#endif // __DUNE_ACFEM_COMMON_ISAPPLICABLETO_HH__
Is TrueType if an F can be invoked with an E.
Definition: isapplicableto.hh:27
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 27, 23:30, 2024)