MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
27 template<
class T>
struct ParamType<T, typename std::enable_if<std::is_enum<T>::value, T>::type> {
static constexpr
inline auto value =
Type::ENUM; };
29 template<
class T>
struct ParamType<T, typename std::enable_if<std::is_union<T>::value, T>::type> {
static constexpr
inline auto value =
Type::UNION; };
69 template<
class Field,
class T, auto Ptr>
73 #ifdef MICROSTRAIN_HAS_OPTIONAL
89 default:
return std::nullopt;
92 #endif // MICROSTRAIN_HAS_OPTIONAL
175 default:
return nullptr;
constexpr pointer data() const noexcept
Definition: span.hpp:63
std::enable_if< isField< T >::value, T > EnableForFieldTypes
Definition: mip_descriptors.hpp:56
constexpr size_t size() const noexcept
Definition: span.hpp:65
Implementation of std::span from C++20.
Definition: span.hpp:40
A dummy struct which is used to mark bitfield objects.
Definition: mip_descriptors.hpp:61