Home | History | Annotate | Download | only in accumulate

Lines Matching refs:Iter

12 // template <InputIterator Iter, MoveConstructible T,
13 // Callable<auto, const T&, Iter::reference> BinaryOperation>
17 // accumulate(Iter first, Iter last, T init, BinaryOperation binary_op);
25 template <class Iter, class T>
27 test(Iter first, Iter last, T init, T x)
32 template <class Iter>
38 test(Iter(ia), Iter(ia), 1, 1);
39 test(Iter(ia), Iter(ia), 10, 10);
40 test(Iter(ia), Iter(ia+1), 1, 1);
41 test(Iter(ia), Iter(ia+1), 10, 10);
42 test(Iter(ia), Iter(ia+2), 1, 2);
43 test(Iter(ia), Iter(ia+2), 10, 20);
44 test(Iter(ia), Iter(ia+sa), 1, 720);
45 test(Iter(ia), Iter(ia+sa), 10, 7200);