25 #ifndef CARGO_IS_STREAMABLE_HPP
26 #define CARGO_IS_STREAMABLE_HPP
36 template <
typename C>
static std::true_type
37 test(decltype(
stream >> (*(static_cast<C*>(
nullptr)))));
39 template <
typename C>
static std::false_type
49 template <
typename C>
static std::true_type
50 test(decltype(
stream << (*(static_cast<C*>(
nullptr)))));
52 template <
typename C>
static std::false_type
60 #endif // CARGO_IS_STREAMABLE_HPP
static std::true_type test(decltype(stream >>(*(static_cast< C * >(nullptr)))))
Definition: is-streamable.hpp:33
static constexpr bool value
Definition: is-streamable.hpp:42
static constexpr bool value
Definition: is-streamable.hpp:55
Definition: is-streamable.hpp:46
static std::true_type test(decltype(stream<< (*(static_cast< C * >(nullptr)))))
static std::istream stream
Definition: is-streamable.hpp:34
static std::ostream stream
Definition: is-streamable.hpp:47