Add result_of_t with decltype auto for function return.