OGS
BoostMP11Utils.h
Go to the documentation of this file.
1
10#pragma once
11
12#include <boost/mp11.hpp>
13
14namespace boost::mp11
15{
16// Alias to be used together with static_assert to improve possible compile
17// error messages.
18template <typename List, typename Elem>
19constexpr 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
23template <typename Set>
24constexpr 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
28template <typename Set>
29constexpr bool mp_is_set_v = mp_is_set<Set>::value;
30} // namespace boost::mp11
constexpr bool mp_is_set_v
constexpr bool mp_is_list_v
constexpr bool mp_contains_v