LWG 3074 make scalar types non-deduced in valarray non-member functions
authorJonathan Wakely <jwakely@redhat.com>
Thu, 14 Jun 2018 19:36:54 +0000 (20:36 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 14 Jun 2018 19:36:54 +0000 (20:36 +0100)
commitdb5ab3aa920cee83ecda219f0faa1e35ed1e3864
tree5e4da3936c1f1d6c583a8b9020cdeb6731911d5f
parentbf7595376f17fdd6b6a558dbc1f14d30baa69949
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.

From-SVN: r261610
libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/intro.xml
libstdc++-v3/include/bits/valarray_after.h
libstdc++-v3/include/std/valarray
libstdc++-v3/testsuite/26_numerics/valarray/operators.cc
libstdc++-v3/testsuite/26_numerics/valarray/transcend.cc [new file with mode: 0644]