Searched refs:times2_op (Results 1 – 1 of 1) sorted by relevance
73 struct times2_op { template<typename A> static A run(A v) { return v * 2; } }; in run() struct320 VERIFY((array_apply<times2_op>(b) == e)); in test_array_zip_and_apply()321 VERIFY_IS_EQUAL((array_apply_and_reduce<sum_op, times2_op>(a)), 216); in test_array_zip_and_apply()322 VERIFY_IS_EQUAL((array_apply_and_reduce<sum_op, times2_op>(b)), 30); in test_array_zip_and_apply()