Adobe Source Libraries
2.0.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
append.hpp
Go to the documentation of this file.
1
/*
2
Copyright 2024 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_APPEND_HPP
9
#define ADOBE_ALGORITHM_APPEND_HPP
10
11
#include <iterator>
12
13
/**************************************************************************************************/
14
15
namespace
adobe
{
16
17
/**************************************************************************************************/
18
21
template
<
class
T,
class
R>
22
inline
auto
append
(T& c,
const
R& r) {
23
return
c.insert(std::end(c), std::begin(r), std::end(r));
24
}
25
26
/**************************************************************************************************/
27
28
}
// namespace adobe
29
30
/**************************************************************************************************/
31
32
#endif
adobe
Definition
class_template.hpp:7
adobe::append
auto append(T &c, const R &r)
Definition
append.hpp:22
adobe
algorithm
append.hpp
Generated by
1.14.0