SpECTRE
v2025.03.17
|
Check if type T
has operator<<(S
, T
) defined.
More...
#include <IsStreamable.hpp>
Check if type T
has operator<<(S
, T
) defined.
Inherits from std::true_type if the type T
has operator<<(S
, T
) defined for a stream S
, otherwise inherits from std::false_type
For any type T
and stream type S
,
Returns: std::bool_constant
Semantics: If the type T
has operator<<(S
, T
) defined for stream S
, then
otherwise
S | the stream type, e.g. std::stringstream or std::ostream |
T | the type we want to know if it has operator<< |