Skip to content

Commit f43f735

Browse files
authored
Merge pull request NVIDIA#1405 from AdeilH/cppreflinks
Updating doc links to cppreference.com
2 parents 00ca1ac + 10f7c7d commit f43f735

46 files changed

Lines changed: 1345 additions & 1345 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

thrust/adjacent_difference.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ namespace thrust
5151
* \return The iterator <tt>result + (last - first)</tt>
5252
*
5353
* \tparam DerivedPolicy The name of the derived execution policy.
54-
* \tparam InputIterator is a model of <a href="http://www.sgi.com/tech/stl/InputIterator.html">Input Iterator</a>,
54+
* \tparam InputIterator is a model of <a href="https://en.cppreference.com/w/cpp/iterator/input_iterator">Input Iterator</a>,
5555
* and \c x and \c y are objects of \p InputIterator's \c value_type, then \c x - \c is defined,
5656
* and \p InputIterator's \c value_type is convertible to a type in \p OutputIterator's set of \c value_types,
5757
* and the return type of <tt>x - y</tt> is convertible to a type in \p OutputIterator's set of \c value_types.
58-
* \tparam OutputIterator is a model of <a href="http://www.sgi.com/tech/stl/OutputIterator.html">Output Iterator</a>.
58+
* \tparam OutputIterator is a model of <a href="https://en.cppreference.com/w/cpp/iterator/output_iterator">Output Iterator</a>.
5959
*
6060
* \remark Note that \p result is permitted to be the same iterator as \p first. This is
6161
* useful for computing differences "in place".
@@ -77,7 +77,7 @@ namespace thrust
7777
* // d_result is now [1, 1, -1, 1, -1, 1, -1, 1]
7878
* \endcode
7979
*
80-
* \see http://www.sgi.com/tech/stl/adjacent_difference.html
80+
* \see https://en.cppreference.com/w/cpp/algorithm/adjacent_difference
8181
* \see inclusive_scan
8282
*/
8383
template<typename DerivedPolicy, typename InputIterator, typename OutputIterator>
@@ -105,10 +105,10 @@ OutputIterator adjacent_difference(const thrust::detail::execution_policy_base<D
105105
* \return The iterator <tt>result + (last - first)</tt>
106106
*
107107
* \tparam DerivedPolicy The name of the derived execution policy.
108-
* \tparam InputIterator is a model of <a href="http://www.sgi.com/tech/stl/InputIterator.html">Input Iterator</a>,
108+
* \tparam InputIterator is a model of <a href="https://en.cppreference.com/w/cpp/iterator/input_iterator">Input Iterator</a>,
109109
* and \p InputIterator's \c value_type is convertible to \p BinaryFunction's \c first_argument_type and \c second_argument_type,
110110
* and \p InputIterator's \c value_type is convertible to a type in \p OutputIterator's set of \c value_types.
111-
* \tparam OutputIterator is a model of <a href="http://www.sgi.com/tech/stl/OutputIterator.html">Output Iterator</a>.
111+
* \tparam OutputIterator is a model of <a href="https://en.cppreference.com/w/cpp/iterator/output_iterator">Output Iterator</a>.
112112
* \tparam BinaryFunction's \c result_type is convertible to a type in \p OutputIterator's set of \c value_types.
113113
*
114114
* \remark Note that \p result is permitted to be the same iterator as \p first. This is
@@ -132,7 +132,7 @@ OutputIterator adjacent_difference(const thrust::detail::execution_policy_base<D
132132
* // d_result is now [1, 3, 3, 3, 3, 3, 3, 3]
133133
* \endcode
134134
*
135-
* \see http://www.sgi.com/tech/stl/adjacent_difference.html
135+
* \see https://en.cppreference.com/w/cpp/algorithm/adjacent_difference
136136
* \see inclusive_scan
137137
*/
138138
template<typename DerivedPolicy, typename InputIterator, typename OutputIterator, typename BinaryFunction>
@@ -156,11 +156,11 @@ OutputIterator adjacent_difference(const thrust::detail::execution_policy_base<D
156156
* \param result The beginning of the output range.
157157
* \return The iterator <tt>result + (last - first)</tt>
158158
*
159-
* \tparam InputIterator is a model of <a href="http://www.sgi.com/tech/stl/InputIterator.html">Input Iterator</a>,
159+
* \tparam InputIterator is a model of <a href="https://en.cppreference.com/w/cpp/iterator/input_iterator">Input Iterator</a>,
160160
* and \c x and \c y are objects of \p InputIterator's \c value_type, then \c x - \c is defined,
161161
* and \p InputIterator's \c value_type is convertible to a type in \p OutputIterator's set of \c value_types,
162162
* and the return type of <tt>x - y</tt> is convertible to a type in \p OutputIterator's set of \c value_types.
163-
* \tparam OutputIterator is a model of <a href="http://www.sgi.com/tech/stl/OutputIterator.html">Output Iterator</a>.
163+
* \tparam OutputIterator is a model of <a href="https://en.cppreference.com/w/cpp/iterator/output_iterator">Output Iterator</a>.
164164
*
165165
* \remark Note that \p result is permitted to be the same iterator as \p first. This is
166166
* useful for computing differences "in place".
@@ -181,7 +181,7 @@ OutputIterator adjacent_difference(const thrust::detail::execution_policy_base<D
181181
* // d_result is now [1, 1, -1, 1, -1, 1, -1, 1]
182182
* \endcode
183183
*
184-
* \see http://www.sgi.com/tech/stl/adjacent_difference.html
184+
* \see https://en.cppreference.com/w/cpp/algorithm/adjacent_difference
185185
* \see inclusive_scan
186186
*/
187187
template <typename InputIterator, typename OutputIterator>
@@ -203,10 +203,10 @@ OutputIterator adjacent_difference(InputIterator first, InputIterator last,
203203
* \param binary_op The binary function used to compute differences.
204204
* \return The iterator <tt>result + (last - first)</tt>
205205
*
206-
* \tparam InputIterator is a model of <a href="http://www.sgi.com/tech/stl/InputIterator.html">Input Iterator</a>,
206+
* \tparam InputIterator is a model of <a href="https://en.cppreference.com/w/cpp/iterator/input_iterator">Input Iterator</a>,
207207
* and \p InputIterator's \c value_type is convertible to \p BinaryFunction's \c first_argument_type and \c second_argument_type,
208208
* and \p InputIterator's \c value_type is convertible to a type in \p OutputIterator's set of \c value_types.
209-
* \tparam OutputIterator is a model of <a href="http://www.sgi.com/tech/stl/OutputIterator.html">Output Iterator</a>.
209+
* \tparam OutputIterator is a model of <a href="https://en.cppreference.com/w/cpp/iterator/output_iterator">Output Iterator</a>.
210210
* \tparam BinaryFunction's \c result_type is convertible to a type in \p OutputIterator's set of \c value_types.
211211
*
212212
* \remark Note that \p result is permitted to be the same iterator as \p first. This is
@@ -229,7 +229,7 @@ OutputIterator adjacent_difference(InputIterator first, InputIterator last,
229229
* // d_result is now [1, 3, 3, 3, 3, 3, 3, 3]
230230
* \endcode
231231
*
232-
* \see http://www.sgi.com/tech/stl/adjacent_difference.html
232+
* \see https://en.cppreference.com/w/cpp/algorithm/adjacent_difference
233233
* \see inclusive_scan
234234
*/
235235
template <typename InputIterator, typename OutputIterator, typename BinaryFunction>

thrust/advance.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace thrust
3838
* \param i The iterator to be advanced.
3939
* \param n The distance by which to advance the iterator.
4040
*
41-
* \tparam InputIterator is a model of <a href="http://www.sgi.com/tech/stl/InputIterator.html">Input Iterator</a>.
41+
* \tparam InputIterator is a model of <a href="https://en.cppreference.com/w/cpp/iterator/input_iterator">Input Iterator</a>.
4242
* \tparam Distance is an integral type that is convertible to \p InputIterator's distance type.
4343
*
4444
* \pre \p n shall be negative only for bidirectional and random access iterators.
@@ -58,7 +58,7 @@ namespace thrust
5858
* // iter - vec.begin() == 7
5959
* \endcode
6060
*
61-
* \see http://www.sgi.com/tech/stl/advance.html
61+
* \see https://en.cppreference.com/w/cpp/iterator/advance
6262
*/
6363
template <typename InputIterator, typename Distance>
6464
__host__ __device__

0 commit comments

Comments
 (0)