Commit cb71b70
committed
Replace std::result_of with decltype
std::result_of is deprecated in C++17 and removed in C++20.
This could be replaced by a wrapper type trait that dispatches to
std::invoke_result_t for C++17 and later or to std::result_of for
earlier versions but since it is only used in one place for nullary
functors, decltype will be simpler.1 parent f7919cb commit cb71b70
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
| 411 | + | |
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
617 | | - | |
| 617 | + | |
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | | - | |
| 622 | + | |
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
| |||
0 commit comments