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