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"
27 return static_cast<std::underlying_type_t<T>>(value);
Definition array_exceptions_disabled.cpp:11
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
Copyright 2026, Toyota Motor Corporation.
Definition array_exceptions_disabled.cpp:10