11#ifndef M5_UTILITY_STL_EXTENSION_HPP
12#define M5_UTILITY_STL_EXTENSION_HPP
22constexpr auto size(
const C& c) ->
decltype(c.size())
28template <
typename T,
size_t N>
29constexpr auto size(
const T (&)[N])
noexcept ->
size_t
42constexpr inline typename std::underlying_type<E>::type to_underlying(
const E e)
noexcept
44 return static_cast<typename std::underlying_type<E>::type
>(e);
Top level namespace of M5.
Definition bit_segment.hpp:17
STL compatibility functions and classes.