hops
IsWriteRecordsToFileAvailable.hpp
Go to the documentation of this file.
1 #ifndef HOPS_ISWRITERECORDSTOFILEAVAILABLE_HPP
2 #define HOPS_ISWRITERECORDSTOFILEAVAILABLE_HPP
3 
4 #include "../../FileWriter/FileWriter.hpp"
5 #include <type_traits>
6 
7 namespace hops {
8  template<typename T, typename = void>
9  struct IsWriteRecordsToFileAvailable : std::false_type {
10  };
11 
12  template<typename T>
14  std::void_t<decltype(std::declval<T>().writeRecordsToFile(std::declval<const FileWriter *>()))> > :
15  std::true_type {
16  };
17 }
18 
19 #endif //HOPS_ISWRITERECORDSTOFILEAVAILABLE_HPP
hops::IsWriteRecordsToFileAvailable
Definition: IsWriteRecordsToFileAvailable.hpp:9
hops
Definition: CsvReader.hpp:8