[libcxx-commits] [libcxx] 70fedaf - [libc++][NFC] Fix slightly incorrect comment in PSTL documentation
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 13 17:28:04 PDT 2023
Author: Louis Dionne
Date: 2023-10-13T17:27:44-07:00
New Revision: 70fedaf89b35c38f4f32fb50d1321e6d473801ab
URL: https://github.com/llvm/llvm-project/commit/70fedaf89b35c38f4f32fb50d1321e6d473801ab
DIFF: https://github.com/llvm/llvm-project/commit/70fedaf89b35c38f4f32fb50d1321e6d473801ab.diff
LOG: [libc++][NFC] Fix slightly incorrect comment in PSTL documentation
Added:
Modified:
libcxx/include/__algorithm/pstl_backend.h
Removed:
################################################################################
diff --git a/libcxx/include/__algorithm/pstl_backend.h b/libcxx/include/__algorithm/pstl_backend.h
index 94644e5c47b3952..0bf2cca5eef4881 100644
--- a/libcxx/include/__algorithm/pstl_backend.h
+++ b/libcxx/include/__algorithm/pstl_backend.h
@@ -41,13 +41,13 @@ A PSTL parallel backend is a tag type to which the following functions are assoc
class _ForwardIterator2,
class _ForwardOutIterator,
class _Comp>
- _ForwardOutIterator __pstl_merge(_Backend,
- _ForwardIterator1 __first1,
- _ForwardIterator1 __last1,
- _ForwardIterator2 __first2,
- _ForwardIterator2 __last2,
- _ForwardOutIterator __result,
- _Comp __comp);
+ optional<_ForwardOutIterator> __pstl_merge(_Backend,
+ _ForwardIterator1 __first1,
+ _ForwardIterator1 __last1,
+ _ForwardIterator2 __first2,
+ _ForwardIterator2 __last2,
+ _ForwardOutIterator __result,
+ _Comp __comp);
template <class _ExecutionPolicy, class _InIterator, class _OutIterator, class _UnaryOperation>
optional<_OutIterator>
More information about the libcxx-commits
mailing list