hej
is hosted by
Hepforge
,
IPPP Durham
HEJ
2.2.2
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
include
HEJ
optional.hh
Go to the documentation of this file.
1
8
#pragma once
9
10
#include <optional>
11
12
namespace
HEJ
{
13
// Templates cannot be deprecated, so we need this workaround
14
namespace
detail {
15
[[deprecated(
"`HEJ::optional` is deprecated. Use `std::optional` instead."
)]]
16
inline
constexpr
int
HEJ_optional
= 0;
17
inline
constexpr
int
use_std_optional_instead
=
HEJ_optional
;
18
}
19
20
template
<
typename
T>
21
using
optional
= std::optional<T>;
22
}
HEJ::detail::use_std_optional_instead
constexpr int use_std_optional_instead
Definition:
optional.hh:17
HEJ::detail::HEJ_optional
constexpr int HEJ_optional
Definition:
optional.hh:16
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
HEJ::optional
std::optional< T > optional
Definition:
optional.hh:21
Generated by
1.9.5