Static Public Member Functions | List of all members
Enums Struct Referencefinal

Utilities for enums. More...

#include <Enums.hpp>

Static Public Member Functions

template<typename E >
static constexpr auto toUnderlying (E e) noexcept -> typename std::underlying_type< E >::type
 Convert the strongly typed enum to its underlying integer. More...
 

Detailed Description

Utilities for enums.

Member Function Documentation

◆ toUnderlying()

static constexpr auto toUnderlying ( e) -> typename std::underlying_type<E>::type
inlinestaticnoexcept

Convert the strongly typed enum to its underlying integer.


The documentation for this struct was generated from the following file: