On Friday, March 4th, 2022 at 9:06 AM, Paolo Di Giglio via Std-Proposals <std-proposals@lists.isocpp.org> wrote:

I’m not really sure whether this is an issue, since the return type of std::move(arr)[Idx] itself is not consistent across compilers.


You can (and should) std::move(arr[Idx]).

See also: std::to_array - cppreference.com

--
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
_______________________________________________