Enable SFINAE-friendly result_of