gcc/libstdc++-v3/include
Jonathan Wakely 37b204de60 Implement LWG 2192 and LWG 2294 for std::abs
* doc/xml/manual/intro.xml: Document LWG 2192 changes.
	* doc/html/*: Regenerate.
	* include/Makefile.am: Add bits/std_abs.h.
	* include/Makefile.in: Regenerate.
	* include/bits/std_abs.h: New header defining all required overloads
	of std::abs in one place (LWG 2294).
	* include/c_global/cmath (abs(double), abs(float), abs(long double)):
	Move to bits/std_abs.h.
	(abs<_Tp>(_Tp)): Remove.
	* include/c_global/cstdlib (abs(long), abs(long long), abs(__int<N>)):
	Move to bits/std_abs.h.
	* testsuite/26_numerics/headers/cmath/dr2192.cc: New test.
	* testsuite/26_numerics/headers/cmath/dr2192_neg.cc: New test.
	* testsuite/26_numerics/headers/cstdlib/dr2192.cc: New test.
	* testsuite/26_numerics/headers/cstdlib/dr2192_neg.cc: New test.

From-SVN: r240660
2016-09-30 17:07:43 +01:00
..
backward Update copyright years. 2016-01-04 15:30:50 +01:00
bits Implement LWG 2192 and LWG 2294 for std::abs 2016-09-30 17:07:43 +01:00
c Update copyright years. 2016-01-04 15:30:50 +01:00
c_compatibility Don't define guard macros when doing #include_next in math.h and stdlib.h 2016-02-01 11:13:40 +00:00
c_global Implement LWG 2192 and LWG 2294 for std::abs 2016-09-30 17:07:43 +01:00
c_std Update copyright years. 2016-01-04 15:30:50 +01:00
debug 2016-09-26 François Dumont <fdumont@gcc.gnu.org> 2016-09-26 20:32:39 +00:00
decimal Update copyright years. 2016-01-04 15:30:50 +01:00
experimental Remove use of std::abs in experimental::{gcd,lcm} 2016-09-30 14:43:37 +01:00
ext Avoid reallocation for basic_string::clear() 2016-09-23 18:25:34 +01:00
parallel algo.h: Generalize usage of std::__iterator_category. 2016-09-25 15:23:45 +00:00
precompiled Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
profile Add C++17 constexpr to debug and profile mode arrays 2016-08-23 16:54:57 +01:00
std Make optional::reset noexcept, make optional::value work in constant expressions. 2016-09-29 18:20:28 +03:00
tr1 Enable Mathematical Special Functions for C++17 2016-08-03 16:54:13 +01:00
tr2 Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.am Implement LWG 2192 and LWG 2294 for std::abs 2016-09-30 17:07:43 +01:00
Makefile.in Implement LWG 2192 and LWG 2294 for std::abs 2016-09-30 17:07:43 +01:00