Adobe Source Libraries
1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
fill.hpp
Go to the documentation of this file.
1
/*
2
Copyright 2013 Adobe
3
Distributed under the Boost Software License, Version 1.0.
4
(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
*/
6
/**************************************************************************************************/
7
8
#ifndef ADOBE_ALGORITHM_FILL_HPP
9
#define ADOBE_ALGORITHM_FILL_HPP
10
11
#include <
adobe/config.hpp
>
12
13
#include <boost/range/begin.hpp>
14
#include <boost/range/end.hpp>
15
16
#include <algorithm>
17
18
/**************************************************************************************************/
19
20
namespace
adobe
{
21
22
/**************************************************************************************************/
30
/**************************************************************************************************/
36
template
<
class
ForwardRange,
class
T>
37
inline
void
fill
(ForwardRange& range,
const
T& value) {
38
std::fill(boost::begin(range), boost::end(range), value);
39
}
40
41
/**************************************************************************************************/
42
43
}
// namespace adobe
44
45
/**************************************************************************************************/
46
47
#endif
48
49
/**************************************************************************************************/
config.hpp
adobe::fill
void fill(ForwardRange &range, const T &value)
fill implementation
Definition
fill.hpp:37
adobe
Definition
class_template.hpp:7
adobe
algorithm
fill.hpp
Generated by
1.14.0