Skip to content

Commit

Permalink
Remove Thrust comments referencing website (#447)
Browse files Browse the repository at this point in the history
Referencing or using code from some websites is prohibited in rocThrust.
Some comments with these kinds of references were recently added by
Thrust, and then when we updated the API, were brought into rocThrust.
This change removes the references in the comments.
  • Loading branch information
umfranzw authored Aug 19, 2024
1 parent 2d9952f commit de96fa8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions thrust/optional.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ template <class T> struct is_const_or_const_ref<T const> : std::true_type{};
#endif

// std::invoke from C++17
// https://stackoverflow.com/questions/38288042/c11-14-invoke-workaround
__thrust_exec_check_disable__
template <typename Fn, typename... Args,
#ifdef THRUST_OPTIONAL_LIBCXX_MEM_FN_WORKAROUND
Expand Down Expand Up @@ -336,7 +335,6 @@ template <class T, class U = T> struct is_swappable : std::true_type {};

template <class T, class U = T> struct is_nothrow_swappable : std::true_type {};
#else
// https://stackoverflow.com/questions/26744589/what-is-a-proper-way-to-implement-is-swappable-to-test-for-the-swappable-concept
namespace swap_adl_tests {
// if swap ADL finds this then it would call std::swap otherwise (same
// signature)
Expand Down

0 comments on commit de96fa8

Please sign in to comment.