55 #ifndef AMESOS2_SOLVERTRAITS_HPP
56 #define AMESOS2_SOLVERTRAITS_HPP
69 template <
template <
class,
class>
class ConcreteSolver>
71 typedef Meta::nil_t supported_scalars;
95 template <
template <
class,
class>
class ConcreteSolver,
98 static const bool value =
99 Meta::if_then_else<Meta::is_same<typename solver_traits<ConcreteSolver>::supported_scalars, Meta::nil_t>::value,
101 Meta::type_list_contains<
102 typename solver_traits<ConcreteSolver>::supported_scalars,
103 Scalar> >::type::value;
108 #endif // AMESOS2_SOLVERTRAITS_HPP
Provides traits about solvers.
Definition: Amesos2_SolverTraits.hpp:70
Check whether a solver supports a scalar type.
Definition: Amesos2_SolverTraits.hpp:97