IVD/contrib/rustutils/routine.h

21 lines
349 B
C++
Executable File

//This file is part of the IVD project and is licensed under the terms of the LGPL-3.0-only
#ifndef ROUTINE_H
#define ROUTINE_H
namespace RustUtils
{
namespace Routine
{
template<typename T>
void appendContainer(T& left, const T& right)
{
left.insert(left.end(), right.cbegin(), right.cend());
}
}//Routine
}//RustUtils
#endif // ROUTINE_H