r261610 - in /trunk/libstdc++-v3: ChangeLog doc...

redi@gcc.gnu.org redi@gcc.gnu.org
Thu Jun 14 19:36:00 GMT 2018


Author: redi
Date: Thu Jun 14 19:36:54 2018
New Revision: 261610

URL: https://gcc.gnu.org/viewcvs?rev=261610&root=gcc&view=rev
Log:
LWG 3074 make scalar types non-deduced in valarray non-member functions

	* include/bits/valarray_after.h (_DEFINE_EXPR_BINARY_FUNCTION): Change
	scalar parameters to be a non-deduced context.
	* include/std/valarray (_DEFINE_BINARY_OPERATOR): Likewise. Adjust
	whitespace.
	* testsuite/26_numerics/valarray/operators.cc: Test scalar operands.
	* testsuite/26_numerics/valarray/transcend.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/26_numerics/valarray/transcend.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/doc/xml/manual/intro.xml
    trunk/libstdc++-v3/include/bits/valarray_after.h
    trunk/libstdc++-v3/include/std/valarray
    trunk/libstdc++-v3/testsuite/26_numerics/valarray/operators.cc



More information about the Libstdc++-cvs mailing list