We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a740af1 commit ce0695eCopy full SHA for ce0695e
passes/proc/proc_dff.cc
@@ -411,7 +411,7 @@ class Dff {
411
// from the function as the LSB. This function also returns the value
412
// calculated for the LSB.
413
template <typename F>
414
- typename std::result_of<F(size_t)>::type shrink_while_matching_values(F f) {
+ typename std::invoke_result_t<F, size_t> shrink_while_matching_values(F f) {
415
const auto base_val = f(0);
416
417
size_t new_size;
0 commit comments