OGS
BoostMP11Utils.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include <boost/mp11.hpp>
13
14
namespace
boost::mp11
15
{
16
// Alias to be used together with static_assert to improve possible compile
17
// error messages.
18
template
<
typename
List,
typename
Elem>
19
constexpr
bool
mp_contains_v
= mp_contains<List, Elem>::value;
20
21
// Alias to be used together with static_assert to improve possible compile
22
// error messages
23
template
<
typename
Set>
24
constexpr
bool
mp_is_list_v
= mp_is_list<Set>::value;
25
26
// Alias to be used together with static_assert to improve possible compile
27
// error messages
28
template
<
typename
Set>
29
constexpr
bool
mp_is_set_v
= mp_is_set<Set>::value;
30
}
// namespace boost::mp11
boost::mp11
Definition
BoostMP11Utils.h:15
boost::mp11::mp_is_set_v
constexpr bool mp_is_set_v
Definition
BoostMP11Utils.h:29
boost::mp11::mp_is_list_v
constexpr bool mp_is_list_v
Definition
BoostMP11Utils.h:24
boost::mp11::mp_contains_v
constexpr bool mp_contains_v
Definition
BoostMP11Utils.h:19
BaseLib
BoostMP11Utils.h
Generated by
1.11.0