A struct which increments anything it is added to. Suitable for use as a Delta type for range_t.
More...
#include <kblib/iterators.h>
A struct which increments anything it is added to. Suitable for use as a Delta type for range_t.
Definition at line 563 of file iterators.h.
◆ incrementer() [1/2]
constexpr kblib::incrementer::incrementer |
( |
| ) |
|
|
constexprdefaultnoexcept |
◆ incrementer() [2/2]
constexpr kblib::incrementer::incrementer |
( |
int |
| ) |
|
|
inlineconstexprnoexcept |
◆ operator int()
constexpr kblib::incrementer::operator int |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ operator()()
template<typename T >
constexpr auto kblib::incrementer::operator() |
( |
T & |
t | ) |
-> T& |
|
inlineconstexpr |
◆ operator*
constexpr auto operator* |
( |
std::ptrdiff_t |
x, |
|
|
incrementer |
|
|
) |
| |
|
friend |
The documentation for this struct was generated from the following file: