iota


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

std::iota and custom incrementable