updated build system
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user