#include <subset_iterator.hpp>
Public Types | |
using | base = subsets_iterator_engine< k-1, Iterator > |
Public Member Functions | |
subsets_iterator_engine (Iterator begin, Iterator end) | |
constructor More... | |
bool | next () |
sets next configuration of iterators, pointing to next subset More... | |
template<typename F , typename... Args> | |
auto | call (F f, Args &&...args) const -> decltype(std::declval< base >().call(std::move(f), std::forward< Args >(args)...,*std::declval< Iterator >())) |
calls arbitrary function f on (*m_curr)... More... | |
Protected Member Functions | |
Iterator | get_begin () |
current being More... | |
Iterator | get_end () |
end is stored in the subsets_iterator_engine<0> More... | |
void | set_to_end () |
sets all iterators to m_end | |
Friends | |
bool | operator== (const subsets_iterator_engine &left, const subsets_iterator_engine &right) |
operator== More... | |
Iterator | |
k |
Definition at line 33 of file subset_iterator.hpp.
|
inline |
|
inline |
calls arbitrary function f on (*m_curr)...
F | |
Args |
f | |
args |
Definition at line 122 of file subset_iterator.hpp.
|
inlineprotected |
|
inlineprotected |
end is stored in the subsets_iterator_engine<0>
Definition at line 48 of file subset_iterator.hpp.
|
inline |
sets next configuration of iterators, pointing to next subset
Definition at line 92 of file subset_iterator.hpp.
|
friend |