diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-01-22 21:15:41 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-01-22 21:15:41 +0000 |
commit | d1fb377c689e7586492b357617ff0e78ab0228b3 (patch) | |
tree | ad7a4f7f4f4601b73ba194c275b74794cfdb2ca5 /gcc | |
parent | 130ee9a9fc802926d2fe2701e041c98a6fb0f981 (diff) | |
download | gcc-d1fb377c689e7586492b357617ff0e78ab0228b3.zip gcc-d1fb377c689e7586492b357617ff0e78ab0228b3.tar.gz gcc-d1fb377c689e7586492b357617ff0e78ab0228b3.tar.bz2 |
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.
From-SVN: r232748
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions