replace std::result_of with std::invoke_result to make std20 compilation work

Is available since std17

Merge request reports

Loading