5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_UTILITY_TO_UNDERLYING_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_UTILITY_TO_UNDERLYING_HPP_
11#include "arene/base/stdlib_choice/underlying_type.hpp"
Definition accumulate.hpp:37
constexpr auto to_underlying(T value) noexcept -> std::underlying_type_t< T >
This replicates a function that went into C++23 called std::to_underlying (https://wg21....
Definition to_underlying.hpp:26
Definition accumulate.hpp:36
typename underlying_type< T >::type underlying_type_t
An alias for the underlying type of T, if T is an enumeration type.
Definition underlying_type.hpp:58