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