|
Mjolnir Core
Core functionality of the Mjolnir API
|
Contains utility functions for parameter packs. More...
#include "mjolnir/core/fundamental_types.h"#include <concepts>#include <algorithm>#include <array>

Go to the source code of this file.
Typedefs | |
| template<auto... t_pack> | |
| using | PackType = decltype(internal::pack_type(t_pack...)) |
| The type of a parameter pack that consist of values and not of types. More... | |
Functions | |
| template<auto... t_pack, std::invocable< PackType< t_pack... >> T_Func> | |
| consteval auto | pack_all (T_Func func) noexcept -> bool |
Return true if the passed function object returns true for all parameter pack values as input. More... | |
| template<bool... t_pack> | |
| consteval auto | pack_all_false () noexcept -> bool |
Return true if all values of an boolean parameter pack are false and false otherwise. More... | |
| template<UST... t_pack> | |
| consteval auto | pack_all_less (UST value) noexcept -> bool |
Return true if all values of an unsigned integer parameter pack are less then a given value and false otherwise. More... | |
| template<bool... t_pack> | |
| consteval auto | pack_all_true () noexcept -> bool |
Return true if all values of an boolean parameter pack are true and false otherwise. More... | |
Contains utility functions for parameter packs.