Skip to content

Commit

Permalink
Try and fix sfinae_helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Jan 21, 2025
1 parent cb6065d commit cb43ddc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions libcudacxx/include/cuda/std/__tuple_dir/sfinae_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,12 @@

_LIBCUDACXX_BEGIN_NAMESPACE_STD

#if _CCCL_STD_VER >= 2017
template <bool... _Pred>
using __all = integral_constant<bool, (_Pred && ... && true)>;
#else // ^^^ _CCCL_STD_VER >= 2017 ^^^ / vvv _CCCL_STD_VER <= 2014 vvv
template <bool... _Preds>
struct __all_dummy;

template <bool... _Pred>
using __all = is_same<__all_dummy<_Pred...>, __all_dummy<((void) _Pred, true)...>>;
#endif // _CCCL_STD_VER <= 2014

struct __tuple_sfinae_base
{
template <class, class>
Expand Down

0 comments on commit cb43ddc

Please sign in to comment.