kfrlib / kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
https://www.kfrlib.com
GNU General Public License v2.0
1.64k stars 252 forks source link

Replace std::result_of with std::invoke_result #131

Closed fghzxm closed 1 year ago

fghzxm commented 3 years ago

std::result_of is deprecated in C++17 and removed from C++20. std::invoke_result is part of C++17 and seems to be supported by all compilers that we currently support, so use it instead.