libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
omittable.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2018 Kitsune Ral <kitsune-ral@users.sf.net>
2
// SPDX-License-Identifier: LGPL-2.1-or-later
3
4
#
pragma
once
5
6
#
include
<
optional
>
7
8
#
include
"util.h"
// For backwards compatibility with code using lift() and merge()
9
10
namespace
Quotient
{
11
12
template
<
typename
T>
13
using
Omittable [[deprecated(
"Use std::optional<> instead"
)]] = std::optional<T>;
14
15
[[
deprecated
(
"Use std::nullopt instead"
)]]
16
constexpr
auto
none
= std::nullopt;
17
18
}
// namespace Quotient
Quotient
Definition
accountregistry.h:13
Quotient::none
constexpr auto none
Definition
omittable.h:16
Quotient
omittable.h
Generated by
1.9.8