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

redi@gcc.gnu.org redi@gcc.gnu.org
Fri Jan 22 21:15:00 GMT 2016


Author: redi
Date: Fri Jan 22 21:15:41 2016
New Revision: 232748

URL: https://gcc.gnu.org/viewcvs?rev=232748&root=gcc&view=rev
Log:
Constrain std::valarray functions and operators

	PR libstdc++/69116
	* include/bits/valarray_before.h (__fun, __fun_with_valarray): Only
	define result_type for types which can be safely used with valarrays.
	* testsuite/26_numerics/valarray/69116.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/26_numerics/valarray/69116.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/valarray_before.h



More information about the Libstdc++-cvs mailing list