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