Container‐based version of the <algorithm> std::fill() function to fill a container with some value.
Synopsis
Declared in <absl/algorithm/container.h>
template<
typename C,
typename T>
constexpr
void
c_fill(
C&& c,
T const& value)
requires container_algorithm_internal::IsPermissibleDestinationRange<C>::value;
Parameters
Name |
Description |
c |
The container to fill. |
value |
The value assigned to each element. |
Created with MrDocs