iota


code
Definition [crayon-5cbc173142172953341816/] Fills the range [first, last) with sequentially increasing values, starting with value and repetitively evaluating ++value.   Syntax [crayon-5cbc17314217f705633885/] But now let’s create a custom incrementable class. Iota is working with a T type, so we only need to overload the ++ operator. [crayon-5cbc173142185118587076/] So what do we have here? I’ve added a […]

std::iota and custom incrementable