r270293 - in /trunk/libstdc++-v3: ChangeLog inc...

rodgertq@gcc.gnu.org rodgertq@gcc.gnu.org
Thu Apr 11 20:40:00 GMT 2019


Author: rodgertq
Date: Thu Apr 11 20:40:40 2019
New Revision: 270293

URL: https://gcc.gnu.org/viewcvs?rev=270293&root=gcc&view=rev
Log:
Replace direct PSTL uses of assert() with a macro

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().

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/c++config
    trunk/libstdc++-v3/include/pstl/algorithm_impl.h
    trunk/libstdc++-v3/include/pstl/numeric_impl.h
    trunk/libstdc++-v3/include/pstl/parallel_backend_tbb.h
    trunk/libstdc++-v3/include/pstl/parallel_backend_utils.h



More information about the Libstdc++-cvs mailing list