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 ignition::gazebo::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
|
staticconstexpr |
Initial value:
=
decltype(Test<Stream, DataType>(0))::value
The documentation for this class was generated from the following file:
static constexpr bool value
Definition: gz/sim/components/Component.hh:96