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