[#absl-c_iota]
= xref:absl.adoc[absl]::c&lowbar;iota
:relfileprefix: ../
:mrdocs:

Container&hyphen;based version of the &lt;numeric&gt; `std&colon;&colon;iota()` function to compute successive values of `value`, as if incremented with `&plus;&plus;value` after each element is written, and write them to the container&period;

== Synopsis

Declared in `&lt;absl&sol;algorithm&sol;container&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename Sequence,
    typename T&gt;
constexpr
void
c&lowbar;iota(
    Sequence& sequence,
    T const& value);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sequence*
| The container to fill&period;
| *value*
| The starting value written to the first element&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
