78template<
typename _Tp,
size_t _Nm >
constexpr size_t size(
const _Tp (& )[_Nm])
noexcept
88template<
typename _Tp >
constexpr size_t size(
const _Tp (& )[0]) noexcept
93template<
class... Ts >
94constexpr uint8_t
ival(Ts... Vs)
96 char vals[
sizeof...(Vs)] = { Vs... };
98 for (uint8_t
i = 0;
i <
sizeof...(Vs);
i++)
101 result += vals[
i] -
'0';
106template<
char... Vs >
container for datalogging
int16_t temperature_x100[S]
Some useful but missing stl functions templates.
constexpr uint8_t ival(Ts... Vs)
constexpr size_t size(const _Tp(&)[_Nm]) noexcept
Helper function to retrieve the dimension of a C-array.
constexpr uint8_t loadStateMask
constexpr uint8_t loadStateOnBit