Mjolnir Core
Core functionality of the Mjolnir API

◆ negate_selected()

auto negate_selected ( T_RegisterType  src) -> T_RegisterType
inlinenoexcept

Return a copy of the source register with the selected elements being negated.

Template Parameters
t_negA parameter pack of the same size as the number of register elements. If a value is true, the corresponding element will be negated. Otherwise the element is just copied.
T_RegisterTypeThe register type
Parameters
[in]srcThe source register
Returns
Register with negated values