Skip to content

Commit

Permalink
Deprecate thrust::numeric_limits
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Jan 13, 2025
1 parent 18b8e43 commit 29a85d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thrust/thrust/limits.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
THRUST_NAMESPACE_BEGIN

template <typename T>
struct numeric_limits : std::numeric_limits<T>
struct CCCL_DEPRECATED_BECAUSE("Use cuda::std::numeric_limits") numeric_limits : std::numeric_limits<T>
{};

THRUST_NAMESPACE_END

0 comments on commit 29a85d0

Please sign in to comment.