Mjolnir Core
Core functionality of the Mjolnir API
Functions
type.h File Reference

Contains multiple utility functions for type related operations. More...

#include "mjolnir/core/definitions.h"
#include "mjolnir/core/fundamental_types.h"
#include <type_traits>
#include <concepts>
Include dependency graph for type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T_Type , typename T_OtherType , typename... T_TypeList>
consteval auto is_any_of () noexcept -> bool
 Return true if the tested type is identical to any of a list of types. More...
 
template<std::integral T_Type>
constexpr auto signed_to_unsigned (T_Type value) -> EquallySizedUnsignedType< T_Type >
 Cast an integer to an equally sized unsigned type. More...
 

Detailed Description

Contains multiple utility functions for type related operations.

type.h