/
BirdLeon
/
ROBLOX2016
Обзор
Документация
Войти
/
BirdLeon
/
ROBLOX2016
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Library/boost/libs/range/doc/reference/algorithm/fill.qbk
34 строки
833 B
PatoFlamejanteTV
full source code
19 дек 2024, 19:11
19 дек 2024, 19:11
05db15d
Код
Авторство
О чём код?
[/ Copyright 2010 Neil Groves Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) /] [section:fill fill] [heading Prototype] `` template<class ForwardRange, class Value> ForwardRange& fill( ForwardRange& rng, const Value& val ); `` [heading Description] `fill` assigns the value `val` to every element in the range `rng`. [heading Definition] Defined in the header file `boost/range/algorithm/fill.hpp` [heading Requirements] * `ForwardRange` is a model of the __forward_range__ Concept. * `ForwardRange` is mutable. * `Value` is a model of the `AssignableConcept`. * `Value` is convertible to `ForwardRange`'s value type. [heading Complexity] Linear. Exactly `distance(rng)` assignments are performed. [endsect]