Gazebo Sim

API Reference

8.7.0
IsOutStreamable< 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&, const 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::IsOutStreamable< 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&, const DataType&) exists. Example:

constexpr bool isDoubleOutStreamable =

Member Data Documentation

◆ value

constexpr bool value
staticconstexpr
Initial value:
=
decltype(Test<Stream, DataType>(true))::value

Referenced by Q_DECLARE_METATYPE().


The documentation for this class was generated from the following file: