[PATCH] Replace direct PSTL uses of assert() with a macro
Thomas Rodgers
trodgers@redhat.com
Tue Apr 9 22:23:00 GMT 2019
This also replaces calls to __TBB_ASSERT so that there are two macro
definitions provided by c++config -
__PSTL_ASSERT(_Condition)
__PSTL_ASSERT_MSG(_Condition, _Message)
* include/bits/c++config:
Add definition for __PSTL_ASSERT.
Add definition for __PSTL_ASSERT_MSG.
* include/pstl/algorithm_impl.h: Replace use of assert().
* include/pstl/numeric_impl.h: Replace use of assert().
* include/pstl/parallel_backend_tbb.h:
Replace use of assert().
Replace use of __TBB_ASSERT().
* include/pstl/parallel_backend_utils.h: Replace use of assert().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Replace-direct-PSTL-uses-of-assert-with-a-macro.patch
Type: text/x-patch
Size: 11233 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20190409/5ef08ba6/attachment.bin>
More information about the Libstdc++
mailing list