IsInStreamable< Stream, DataType > Class Template Reference
Type trait that determines if a operator>> is defined on Stream
and DataType
, i.e, it checks if the function Stream& operator>>(Stream&, DataType&)
exists. Example:
More...
#include <Component.hh>
Static Public Attributes | |
static constexpr bool | value |
Detailed Description
template<typename Stream, typename DataType>
class gz::sim::traits::IsInStreamable< Stream, DataType >
class gz::sim::traits::IsInStreamable< Stream, DataType >
Type trait that determines if a operator>> is defined on Stream
and DataType
, i.e, it checks if the function Stream& operator>>(Stream&, DataType&)
exists. Example:
constexpr bool isDoubleInStreamable =
Member Data Documentation
◆ value
template<typename Stream , typename DataType >
|
staticconstexpr |
Initial value:
=
decltype(Test<Stream, DataType>(0))::value
The documentation for this class was generated from the following file: