Template Function increment(const B&, std::pair<T, T>&, std::pair<TT, TT>&…)

Function Documentation

template<typename T, typename ...TT, typename B>
bool increment(const B &begins, std::pair<T, T> &r, std::pair<TT, TT>&... rr)

A helper function to recursively create the next tuple of parameters in a cartesian product way.

Template Parameters:
  • T

  • TT

  • B

Parameters:
  • begins – A tuple of begin-iterators

  • r – A pair of iterators, where first will be increased

  • rr – Remaining iterators to create the tuple.

Returns:

true

Returns:

false