mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
15 lines
350 B
C++
15 lines
350 B
C++
#pragma once
|
|
|
|
#include <algorithm>
|
|
#include <queue>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace util {
|
|
template <class T>
|
|
bool contains(const std::vector<T>& vec, const T& value) {
|
|
return std::find(vec.begin(), vec.end(), value) != vec.end();
|
|
}
|
|
|
|
std::string to_string(const std::vector<std::string>& vec);
|
|
}
|