// Copyright (c) 2023 The Limenka developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef LIMENKA_UTIL_INSERT_H #define LIMENKA_UTIL_INSERT_H #include namespace util { //! Simplification of std insertion template inline void insert(Tdst& dst, const Tsrc& src) { dst.insert(dst.begin(), src.begin(), src.end()); } template inline void insert(std::set& dst, const Tsrc& src) { dst.insert(src.begin(), src.end()); } } // namespace util #endif // LIMENKA_UTIL_INSERT_H