static_assert(std::is_enum_v<type>, \
"Parameters to ARMARX_MAKE_ENUM_CONVERTERS must be enum types"); \
{ \
using base = std::underlying_type_t<type>; \
switch (v) \
{ \
} \
throw std::invalid_argument{"Unknown enum value " + std::to_string(static_cast<base>(v))}; \
} \
inline std::ostream&
operator<<(std::ostream& out, type v) \
{ \
} \
inline type operator++(type& x) \
{ \
return x = (type)(((int)(x) + 1)); \
} \
inline type operator++(type& x, int) \
{ \
type y = x; \
x = (type)(((int)(x) + 1)); \
return y; \
}
std::ostream & operator<<(std::ostream &strm, const AbstractInterface &a)
std::string to_string(BLEProthesisInterface::State s)
#define _detail_ARMARX_MAKE_ENUM_CONVERTERS(...)