##// END OF EJS Templates
Removed forgotten files form previous impl of VC, fixed wrong submodules...
Removed forgotten files form previous impl of VC, fixed wrong submodules init (was always erasing changes :( ) Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r0:86b06c4cec3c
r31:dec007be0b03
Show More
containers.h
16 lines | 294 B | text/x-c | CLexer
#ifndef CONTAINERS_H
#define CONTAINERS_H
#include <algorithm>
namespace SciQLop::containers {
template <class T1,class T2>
bool contains(const T1 &container, const T2 &value)
{
return std::find(container.begin(), container.end(), value) != container.end();
}
}
#endif // CONTAINERS_H