5#ifndef BITCOIN_UTIL_INSERT_H
6#define BITCOIN_UTIL_INSERT_H
13template <
typename Tdst,
typename Tsrc>
14inline void insert(Tdst &dst,
const Tsrc &src) {
15 dst.insert(dst.begin(), src.begin(), src.end());
17template <
typename TsetT,
typename Tsrc>
18inline 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.