15 #ifndef OPENSCENARIO_INTERPRETER__TYPE_TRAITS__IF_HAS_STREAM_OUTPUT_OPERATOR_HPP_
16 #define OPENSCENARIO_INTERPRETER__TYPE_TRAITS__IF_HAS_STREAM_OUTPUT_OPERATOR_HPP_
24 inline namespace type_traits
26 template <
typename T,
typename =
void>
29 static auto invoke(std::ostream & os,
const T &) -> std::ostream &
37 T, typename
std::enable_if<HasStreamOutputOperator<T>::value>::type>
39 static auto invoke(std::ostream & os,
const T & rhs) -> std::ostream & {
return os << rhs; }
auto makeTypename(Ts &&... xs)
Definition: demangle.hpp:30
static auto invoke(std::ostream &os, const T &rhs) -> std::ostream &
Definition: if_has_stream_output_operator.hpp:39
Definition: if_has_stream_output_operator.hpp:28
static auto invoke(std::ostream &os, const T &) -> std::ostream &
Definition: if_has_stream_output_operator.hpp:29