Skip to content

Commit

Permalink
require at least one arg to the non-trivial constructor
Browse files Browse the repository at this point in the history
this makes `__ignore_t` a trivial class type
  • Loading branch information
ericniebler authored Nov 24, 2024
1 parent 55c8e4b commit 60a759d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libcudacxx/include/cuda/std/__tuple_dir/ignore.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ struct __ignore_t
{
__ignore_t() = default;

template <class... _Ts>
_LIBCUDACXX_HIDE_FROM_ABI constexpr __ignore_t(const _Ts&...) noexcept
template <class _Tp, class... _Ts>
_LIBCUDACXX_HIDE_FROM_ABI constexpr __ignore_t(const _Tp&, const _Ts&...) noexcept
{}

template <class _Tp>
Expand Down

0 comments on commit 60a759d

Please sign in to comment.