dune-common
2.8.0
|
Traits class to check if function is invocable and the return type is compatible. More...
#include <dune/common/std/type_traits.hh>
Traits class to check if function is invocable and the return type is compatible.
This checks if F can be called with an arguments list of type Args..., and if the return value can be converted to R. The result is encoded by deriving from std::integral_constant<bool, result>.
This implements std::is_invocable_r from C++17.