Daily Archives: November 20, 2018


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

std::iota and custom incrementable