4 General utilities library [utilities]

4.2 Utility components [utility]

4.2.1 Header <jegp/utility.hpp> synopsis [utility.syn]

The header <jegp/utility.hpp> contains some basic constructs.
namespace jegp
{
// [utility.underlying], underlying
template <class Enum>
constexpr std::underlying_type_t<Enum> underlying(Enum e) noexcept;

// [static.downcast], static_­downcast
template <class DerivedRef, class Base>
constexpr DerivedRef static_downcast(Base&& base) noexcept;

// [hash.combine], hash_­combine
template <class... Args>
constexpr std::size_t hash_combine(const Args&... args) noexcept(see below);

} // namespace jegp