29 #ifndef PIRANHA_PRINT_COEFFICIENT_HPP 30 #define PIRANHA_PRINT_COEFFICIENT_HPP 44 template <
typename T,
typename =
void>
61 auto operator()(std::ostream &os,
const U &cf)
const -> decltype(os << cf)
96 template <
typename T1>
97 using print_coefficient_t
99 static const bool implementation_defined = is_detected<print_coefficient_t, T>::value;
103 static const bool value = implementation_defined;
106 template <
typename T>
auto operator()(std::ostream &os, const U &cf) const -> decltype(os<< cf)
Call operator.
Type trait for classes implementing piranha::print_coefficient.
static const bool value
Value of the type trait.
auto print_coefficient(std::ostream &os, const T &cf) -> decltype(print_coefficient_impl< T >()(os, cf))
Print series coefficient.
Default functor for piranha::print_coefficient().