Akonadi

akhelpers.h
1/*
2 SPDX-FileCopyrightText: 2018-2019 Daniel Vrátil <dvratil@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9namespace Akonadi
10{
11static const auto IsNull = [](auto ptr) {
12 return !(bool)ptr;
13};
14static const auto IsNotNull = [](auto ptr) {
15 return (bool)ptr;
16};
17
18} // namespace Akonadi
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 14 2024 11:51:45 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.