24 template<
typename ContainerType,
typename ContainedType >
26 insert(ContainerType &container,
const ContainedType &element)
28 container.insert(container.end(), element);
31 template<
typename ContainerType,
typename ContainedType >
33 erase(ContainerType &container,
const ContainedType &element)
35 typename ContainerType::iterator it;
37 if((it = std::find(container.begin(), container.end(), element)) !=
41 throw std::invalid_argument(
42 "Helpers::erase element in container -> given element not found.");
45 template<
typename ContainedType >
52 template<
typename ContainedType >
59 template<
typename ContainedType >