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

std::iota and custom incrementable

Syntax [crayon-5c6ab5a00afbe040147685/] std::quoted was added in C++14 and it is used to take care of escaping quotes and backslashes in output streams, and unescaping them in input streams. This is handy for example if we want to use it in an SQL statement, in both ways (either add the escaping, […]

std::quoted and the “friendly” delimiters