Mjolnir Core
Core functionality of the Mjolnir API

◆ pack_all()

consteval auto pack_all ( T_Func  func) -> bool
noexcept

Return true if the passed function object returns true for all parameter pack values as input.

All values of the parameter pack need to be of the same type.

Template Parameters
t_packThe parameter pack that should be checked
T_FuncType of the passed callable object.
Parameters
[in]funcThe function or functor that should be evaluated with all parameter pack elements
Returns
true or false