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

Container&hyphen;based version of the &lt;algorithm&gt; `std&colon;&colon;fill()` function to fill a container with some value&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename C,
    typename T&gt;
constexpr
void
c&lowbar;fill(
    C&& c,
    T const& value)
requires container&lowbar;algorithm&lowbar;internal&colon;&colon;IsPermissibleDestinationRange&lt;C&gt;&colon;&colon;value;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *c*
| The container to fill&period;
| *value*
| The value assigned to each element&period;
|===


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