hej is hosted by Hepforge, IPPP Durham
HEJ 2.2.2
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
optional.hh
Go to the documentation of this file.
1
8#pragma once
9
10#include <optional>
11
12namespace 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}
constexpr int use_std_optional_instead
Definition: optional.hh:17
constexpr int HEJ_optional
Definition: optional.hh:16
Main HEJ 2 Namespace.
Definition: mainpage.dox:1
std::optional< T > optional
Definition: optional.hh:21