OGS
BoostMP11Utils.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#pragma once
5
6
#include <boost/mp11.hpp>
7
8
namespace
boost::mp11
9
{
10
// Alias to be used together with static_assert to improve possible compile
11
// error messages.
12
template
<
typename
List,
typename
Elem>
13
constexpr
bool
mp_contains_v
= mp_contains<List, Elem>::value;
14
15
// Alias to be used together with static_assert to improve possible compile
16
// error messages
17
template
<
typename
Set>
18
constexpr
bool
mp_is_list_v
= mp_is_list<Set>::value;
19
20
// Alias to be used together with static_assert to improve possible compile
21
// error messages
22
template
<
typename
Set>
23
constexpr
bool
mp_is_set_v
= mp_is_set<Set>::value;
24
}
// namespace boost::mp11
boost::mp11
Definition
BoostMP11Utils.h:9
boost::mp11::mp_is_set_v
constexpr bool mp_is_set_v
Definition
BoostMP11Utils.h:23
boost::mp11::mp_is_list_v
constexpr bool mp_is_list_v
Definition
BoostMP11Utils.h:18
boost::mp11::mp_contains_v
constexpr bool mp_contains_v
Definition
BoostMP11Utils.h:13
BaseLib
BoostMP11Utils.h
Generated by
1.14.0