gcc/libstdc++-v3/doc/xml/manual
Jonathan Wakely b66e5a95c0 PR libstdc++/68210 adjust operator new and delete for LWG 206
Ensure that nothrow versions of new and delete call the ordinary
versions of new or delete, instead of calling malloc or free directly.

These files are all compiled with -std=gnu++14 so can use noexcept and
nullptr to make the code more readable.

	PR libstdc++/68210
	* doc/xml/manual/intro.xml: Document LWG 206 change.
	* libsupc++/del_op.cc: Replace _GLIBCXX_USE_NOEXCEPT with noexcept.
	* libsupc++/del_opa.cc: Likewise.
	* libsupc++/del_opant.cc: Likewise.
	* libsupc++/del_opnt.cc: Likewise. Call operator delete(ptr) instead
	of free(ptr).
	* libsupc++/del_ops.cc: Replace _GLIBCXX_USE_NOEXCEPT with noexcept.
	* libsupc++/del_opsa.cc: Likewise.
	* libsupc++/del_opva.cc: Likewise.
	* libsupc++/del_opvant.cc: Likewise.
	* libsupc++/del_opvnt.cc: Likewise. Call operator delete[](ptr)
	instead of operator delete(ptr).
	* libsupc++/del_opvs.cc: Replace _GLIBCXX_USE_NOEXCEPT with noexcept.
	* libsupc++/del_opvsa.cc: Likewise.
	* libsupc++/new_op.cc: Use __builtin_expect in check for zero size.
	* libsupc++/new_opa.cc: Use nullptr instead of literal 0.
	* libsupc++/new_opant.cc: Likewise. Replace _GLIBCXX_USE_NOEXCEPT
	with noexcept.
	* libsupc++/new_opnt.cc: Likewise. Call operator new(sz) instead of
	malloc(sz).
	* libsupc++/new_opvant.cc: Use nullptr and noexcept.
	* libsupc++/new_opvnt.cc: Likewise. Call operator new[](sz) instead of
	operator new(sz, nothrow).
	* testsuite/18_support/new_nothrow.cc: New test.

From-SVN: r263478
2018-08-10 21:20:27 +01:00
..
abi.xml Update libstdc++ manual in preparation for GCC 8 release 2018-04-11 01:21:35 +01:00
algorithms.xml
allocator.xml allocator.xml: Adjust link for Hoard. 2017-09-09 06:51:49 +00:00
appendix_contributing.xml Add cross-reference for test permutations in libstdc++ manual 2017-05-16 11:37:22 +01:00
appendix_free.xml api.xml: www.fsf.org has moved to https. 2018-03-18 23:52:00 +00:00
appendix_porting.xml
atomics.xml
auto_ptr.xml
backwards_compatibility.xml Update links to archived copy of SGI STL docs 2018-04-10 16:49:26 +01:00
bitmap_allocator.xml
build_hacking.xml Update libstdc++ version info in manual 2017-05-18 11:09:32 +01:00
codecvt.xml
concurrency.xml
concurrency_extensions.xml
configure.xml
containers.xml Update links to archived copy of SGI STL docs 2018-04-10 16:49:26 +01:00
ctype.xml
debug.xml * doc/xml/manual/debug.xml: Adjust link to ThreadSanitizer. 2017-02-19 10:54:35 +00:00
debug_mode.xml Document Dual ABI for std::ios_base::failure 2018-05-10 20:13:42 +01:00
diagnostics.xml
documentation_hacking.xml documentation_hacking.xml: Adjust link to docbook.org. 2018-03-18 23:38:23 +00:00
evolution.xml Update libstdc++ manual in preparation for GCC 8 release 2018-04-11 01:21:35 +01:00
extensions.xml Update links to archived copy of SGI STL docs 2018-04-10 16:49:26 +01:00
internals.xml
intro.xml PR libstdc++/68210 adjust operator new and delete for LWG 206 2018-08-10 21:20:27 +01:00
io.xml Fix broken links in manual and remove outdated info 2017-03-23 19:40:21 +00:00
iterators.xml
locale.xml
localization.xml
messages.xml
mt_allocator.xml Fix ViewCVS URLs in libstdc++ manual 2017-05-11 16:01:10 +01:00
numerics.xml
parallel_mode.xml
policy_data_structures.xml Fix typos in libstdc++ manual 2017-05-18 11:26:02 +01:00
policy_data_structures_biblio.xml Update links to archived copy of SGI STL docs 2018-04-10 16:49:26 +01:00
prerequisites.xml
profile_mode.xml * doc/xml/manual/profile_mode.xml: Fix link. 2017-02-18 08:37:19 +00:00
shared_ptr.xml policy_data_structures.xml: Simplify and standardize references to boost.org. 2017-02-16 15:25:18 +00:00
spine.xml Update libstdc++ manual in preparation for GCC 8 release 2018-04-11 01:21:35 +01:00
status_cxx1998.xml
status_cxx2011.xml PR libstdc++/80624 satisfy invariant for char_traits<char16_t>::eof() 2017-06-02 19:35:37 +01:00
status_cxx2014.xml
status_cxx2017.xml * doc/xml/manual/status_cxx2017.xml: Document N4531 status. 2018-06-25 17:42:28 +01:00
status_cxxis29124.xml PR libstdc++/82644 document IS 29124 support 2017-10-23 12:10:28 +01:00
status_cxxtr1.xml
status_cxxtr24733.xml
strings.xml Update libstdc++ manual in preparation for GCC 8 release 2018-04-11 01:21:35 +01:00
support.xml
test.xml Improve libstdc++ docs w.r.t newer C++ standards 2018-07-31 16:02:32 +01:00
test_policy_data_structures.xml Fix typos in libstdc++ manual 2017-05-18 11:26:02 +01:00
using.xml Fix Docbook markup for table entry 2018-08-08 14:37:24 +01:00
using_exceptions.xml Update links and references in libstdc++ manual 2017-02-08 12:02:36 +00:00
utilities.xml Update links to archived copy of SGI STL docs 2018-04-10 16:49:26 +01:00