Daily Archives: November 20, 2018


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

std::iota and custom incrementable