File indexing completed on 2024-06-16 04:50:34

0001 /*
0002     SPDX-FileCopyrightText: 2018-2019 Daniel Vrátil <dvratil@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 namespace Akonadi
0010 {
0011 static const auto IsNull = [](auto ptr) {
0012     return !(bool)ptr;
0013 };
0014 static const auto IsNotNull = [](auto ptr) {
0015     return (bool)ptr;
0016 };
0017 
0018 } // namespace Akonadi