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
{{ message }}
This repository was archived by the owner on Mar 21, 2024. It is now read-only.
As seen in this example,
thrust::tuple_size< const thrust::tuple<T1, T2>>
will fail to compile:https://godbolt.org/z/M177q6Ye6
This is because
tuple_size
has a partial specialization forpair<T1,T2>
, but notconst pair<T1, T2>
.As a result,
tuple_size
for aconst pair
will hit the generic template fortuple_size
, which is only valid forthrust::tuple
types.The text was updated successfully, but these errors were encountered: