![]() |
0.3.0
|
Namespaces | |
namespace | tuple_algos |
Data Structures | |
struct | increment_iterator |
Helper struct to increment an iterator. More... | |
struct | increment_iterator< 0 > |
Helper struct to increment an iterator. More... | |
Functions | |
template<typename Function, typename... Ts, size_t... Is> | |
void | callFunction (Function function, std::tuple< Ts... > const &tuple, std::index_sequence< Is... >) |
Calls the function on the tuple. | |
template<typename... Ts> | |
auto | dereference (std::tuple< Ts... > const &tuple) |
Dereference a tuple. | |
template<typename... Iterators> | |
void | next_combination (std::tuple< Iterators... > &iterators, std::tuple< Iterators... > const &beginIterators, std::tuple< Iterators... > const &endIterators) |
Gets the next combination of the tuples of iterators. | |
void NAV::CartesianProduct::callFunction | ( | Function | function, |
std::tuple< Ts... > const & | tuple, | ||
std::index_sequence< Is... > | ) |
Calls the function on the tuple.
[in] | function | Function to call |
[in] | tuple | Tuple to pass as argument |
Definition at line 185 of file CartesianProduct.hpp.
auto NAV::CartesianProduct::dereference | ( | std::tuple< Ts... > const & | tuple | ) |
Dereference a tuple.
[in] | tuple | Tuple to dereference |
Definition at line 125 of file CartesianProduct.hpp.
void NAV::CartesianProduct::next_combination | ( | std::tuple< Iterators... > & | iterators, |
std::tuple< Iterators... > const & | beginIterators, | ||
std::tuple< Iterators... > const & | endIterators ) |
Gets the next combination of the tuples of iterators.
[in] | iterators | The iterator to get the next combination for |
[in] | beginIterators | Beginning of the Iterators |
[in] | endIterators | End of the Iterators |
Definition at line 175 of file CartesianProduct.hpp.