]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/26_numerics/valarray/operators.cc
re PR libstdc++/9234 (unary minus for valarrays broken)
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Mon, 3 Feb 2003 10:38:36 +0000 (10:38 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Mon, 3 Feb 2003 10:38:36 +0000 (10:38 +0000)
commit847e8c74ac442743a3066f23c93e529b2b92043c
tree5424f53e82014b703997cda77e502af22bc53d94
parentca777b88c821f9fa149bca17ff09fa9b1668d024
re PR libstdc++/9234 (unary minus for valarrays broken)

PR libstdc++/9234
* include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
operator.

* include/bits/valarray_before.h (__not_equal_to): Use != instead of ==.

* testsuite/26_numerics/valarray_operators.cc: New test.

From-SVN: r62309
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/valarray_before.h
libstdc++-v3/testsuite/26_numerics/valarray_operators.cc [new file with mode: 0644]