5 #ifndef BITCOIN_UTIL_INSERT_H
6 #define BITCOIN_UTIL_INSERT_H
13 template <
typename Tdst,
typename Tsrc>
14 inline void insert(Tdst &dst,
const Tsrc &src) {
15 dst.insert(dst.begin(), src.begin(), src.end());
17 template <
typename TsetT,
typename Tsrc>
18 inline void insert(std::set<TsetT> &dst,
const Tsrc &src) {
19 dst.insert(src.begin(), src.end());
void insert(Tdst &dst, const Tsrc &src)
Simplification of std insertion.