Dune Core Modules (2.6.0)
Dune::Std::is_callable< F(Args...), R > Struct Template Reference
Traits class to check if function is callable. More...
#include <dune/common/std/type_traits.hh>
Detailed Description
template<class F, class... Args, class R>
struct Dune::Std::is_callable< F(Args...), R >
struct Dune::Std::is_callable< F(Args...), R >
Traits class to check if function is callable.
- Template Parameters
-
D Function descriptor R Return value
If D = F(Args...) this checks if F can be called with an argument list of type Args..., and if the return value can be converted to R. If R is void, any return type is accepted. The result is encoded by deriving from std::integral_constant<bool, result>.
If D is not of the form D = F(Args...) this class is not defined.
This implements std::is_callable as proposed in N4446 for C++17.
The documentation for this struct was generated from the following file:
- dune/common/std/type_traits.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 10, 23:30, 2024)