Daily Archives: November 20, 2018


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

std::iota and custom incrementable