Index: libcxx/include/__iterator/iter_move.h =================================================================== --- libcxx/include/__iterator/iter_move.h +++ libcxx/include/__iterator/iter_move.h @@ -49,8 +49,8 @@ concept __move_deref = !__unqualified_iter_move<_Tp> && requires (_Tp&& __t) { - *__t; - requires is_lvalue_reference_v; + *std::forward<_Tp>(__t); + requires is_lvalue_reference_v(__t))>; }; template @@ -58,8 +58,8 @@ !__unqualified_iter_move<_Tp> && !__move_deref<_Tp> && requires (_Tp&& __t) { - *__t; - requires (!is_lvalue_reference_v); + *std::forward<_Tp>(__t); + requires (!is_lvalue_reference_v(__t))>); }; // [iterator.cust.move]