Container-based version of the <algorithm> std::fill() function to fill a container with some value.
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;
| Name | Description |
|---|---|
| c | The container to fill. |
| value | The value assigned to each element. |