Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit 2284aa1

Browse files
Add trailing return type to support C++11
Co-authored-by: Jake Hemstad <jhemstad@nvidia.com>
1 parent 508b1a0 commit 2284aa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thrust/iterator/detail/tagged_iterator.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ template<typename Iterator, typename Tag>
6868
* equivalent to \p iter.
6969
*/
7070
template <typename Tag, typename Iterator>
71-
inline auto make_tagged_iterator(Iterator iter)
71+
inline auto make_tagged_iterator(Iterator iter) -> tagged_iterator<Iterator, Tag>
7272
{
7373
return tagged_iterator<Iterator, Tag>(iter);
7474
}

0 commit comments

Comments
 (0)