updated build system
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
2024-08-04 09:55:01 -05:00
parent 6d152181d3
commit 15cc7b0b87
6 changed files with 208 additions and 27 deletions

View File

@ -308,6 +308,19 @@ template <class... Ts> struct overloaded : Ts... {
};
template <class... Ts> overloaded(Ts...) -> overloaded<Ts...>;
template <typename T> struct is_collection {
static const bool value = false;
};
template <typename T, typename A>
struct is_collection<std::vector<T, A>> : std::true_type {};
template <typename T> struct is_collection<std::deque<T>> : std::true_type {};
template <> struct is_collection<std::string> : std::true_type {};
template <> struct is_collection<std::wstring> : std::true_type {};
struct file_deleter final {
void operator()(FILE *file) {
if (file != nullptr) {