You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bunch of the std library language around tuple has changed, I think specifically to support std::tuple proxy value/reference types for std::views::zip. Many of these changes are in p2321.
I ran into this in this example of using a kumi::tie as a reference tuple type for an SoA iterator, and trying to use std::ranges::sort on the range. https://godbolt.org/z/9bYb1oM8z.
Currently the first compiler error I run into is the following common_reference failure, which I guess requires specializing basic_common_reference, however there could be more problems hidden behind this one.
/opt/compiler-explorer/clang-16.0.0/bin/../include/c++/v1/__type_traits/common_reference.h:113:1: note: because substituted constraint expression is ill-formed: no type named 'type' in 'std::common_reference<kumi::tuple<unsigned int &, unsigned char &, unsigned int &> &&, kumi::tuple<unsigned int, unsigned char, unsigned int> &>'
using common_reference_t = typename common_reference<_Types...>::type;
^
1 error generated.
edit: punctuation
The text was updated successfully, but these errors were encountered:
A bunch of the std library language around tuple has changed, I think specifically to support
std::tuple
proxy value/reference types forstd::views::zip
. Many of these changes are in p2321.I ran into this in this example of using a
kumi::tie
as a reference tuple type for an SoA iterator, and trying to usestd::ranges::sort
on the range. https://godbolt.org/z/9bYb1oM8z.Currently the first compiler error I run into is the following
common_reference
failure, which I guess requires specializingbasic_common_reference
, however there could be more problems hidden behind this one.edit: punctuation
The text was updated successfully, but these errors were encountered: