iota


code
Definition [crayon-5d5b953d451c8579914927/] Fills the range [first, last) with sequentially increasing values, starting with value and repetitively evaluating ++value.   Syntax [crayon-5d5b953d451e7599032107/] 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-5d5b953d451ec553721313/] So what do we have here? I’ve added a […]

std::iota and custom incrementable