Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Namespaces | Functions
Enum.hpp File Reference
#include <toolbox/util/Concepts.hpp>
Include dependency graph for Enum.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  toolbox
 
namespace  toolbox::util
 

Functions

template<typename EnumT >
requires Enum<EnumT>
constexpr EnumT toolbox::util::box (typename std::underlying_type_t< EnumT > val) noexcept
 
template<typename EnumT >
requires Enum<EnumT>
constexpr std::underlying_type_t< EnumTtoolbox::util::unbox (EnumT val) noexcept