Adding typedef for result_type for older result_of<> implementations