Mjolnir Core
Core functionality of the Mjolnir API

◆ compare_in_sequence_true()

auto compare_in_sequence_true ( T_RegisterType  lhs,
T_RegisterType  rhs,
T_CompFunc  comp_func 
) -> bool
inlinenoexcept

Return true only if the comparisons of all register elements are true inside of a specified sequence.

Template Parameters
t_idx_firstThe index of the first register element that is part of the sequence
t_lengthThe number of elements in the sequence
T_RegisterTypeThe register type
T_CompFuncThe Type of a callable object that performs the register element comparison.
Parameters
[in]lhsThe register left of the operator
[in]rhsThe register right of the operator
[in]comp_funcA comparison function or functor that provides the comparison of the register elements. Functors should be preferred to assure inlining. See https://stackoverflow.com/a/12718449/6700329
Returns
true or false