|
dune-common 2.10
|
Check if a type is callable with ()-operator and given arguments. More...

Check if a type is callable with ()-operator and given arguments.
| D | Function descriptor |
| R | Return value type |
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 either std::true_type or std::false_type
If D is not of the form F(Args...) this class is not defined.