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