summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/numeric.ops
diff options
context:
space:
mode:
authorBilly Robert O'Neal III <bion@microsoft.com>2018-01-05 01:32:00 +0000
committerBilly Robert O'Neal III <bion@microsoft.com>2018-01-05 01:32:00 +0000
commit3770e403eec750087cd564f2701e9474d955fa9a (patch)
tree7c8d62a5249a5248cae901675d697fbae377a419 /libcxx/test/std/numerics/numeric.ops
parent4958692ad9d0834b6ba94dbeaffc88e5159debeb (diff)
downloadbcm5719-llvm-3770e403eec750087cd564f2701e9474d955fa9a.tar.gz
bcm5719-llvm-3770e403eec750087cd564f2701e9474d955fa9a.zip
Move + and * operators of MoveOnly into MoveOnly.h.
llvm-svn: 321852
Diffstat (limited to 'libcxx/test/std/numerics/numeric.ops')
-rw-r--r--libcxx/test/std/numerics/numeric.ops/transform.reduce/transform_reduce_iter_iter_iter_init.pass.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/libcxx/test/std/numerics/numeric.ops/transform.reduce/transform_reduce_iter_iter_iter_init.pass.cpp b/libcxx/test/std/numerics/numeric.ops/transform.reduce/transform_reduce_iter_iter_iter_init.pass.cpp
index b2c2d714563..a79b4e98f03 100644
--- a/libcxx/test/std/numerics/numeric.ops/transform.reduce/transform_reduce_iter_iter_iter_init.pass.cpp
+++ b/libcxx/test/std/numerics/numeric.ops/transform.reduce/transform_reduce_iter_iter_iter_init.pass.cpp
@@ -58,16 +58,6 @@ void test_return_type()
decltype(std::transform_reduce(p, p, p, Init{}))> );
}
-inline MoveOnly operator+(const MoveOnly& lhs, const MoveOnly& rhs)
-{
- return MoveOnly{lhs.get() + rhs.get()};
-}
-
-inline MoveOnly operator*(const MoveOnly& lhs, const MoveOnly& rhs)
-{
- return MoveOnly{lhs.get() * rhs.get()};
-}
-
void test_move_only_types()
{
MoveOnly ia[] = {{1}, {2}, {3}};
OpenPOWER on IntegriCloud