Compile code below for reproduction. Uncomment block below for fix.#include <type_traits>// Uncomment to make compile/*namespace std{ template<class _Ty> struct is_function<_Ty&&> : false_type { // determine whether _Ty is a function };}*/using namespace std;typedef int && CTestRef;static_assert(!is_function<CTestRef>::value, "");
Product Language
Version
Operating System
Operating System Language
Steps to Reproduce
Actual Results
Expected Results