KOSMIndoorMap
internal.h
24 [[nodiscard]] constexpr inline T* get() const { return reinterpret_cast<T*>(m_data & ~TagMask); }
25 constexpr inline void set(T *data) { m_data = (m_data & TagMask) | (reinterpret_cast<std::uintptr_t>(data) & ~TagMask); }
29 [[nodiscard]] constexpr inline bool operator==(TaggedPointer<T> other) const { return m_data == other.m_data; }
30 [[nodiscard]] constexpr inline bool operator!=(TaggedPointer<T> other) const { return m_data != other.m_data; }
31 [[nodiscard]] constexpr inline bool operator<(TaggedPointer<T> other) const { return m_data < other.m_data; }
Pointer with the lower bits used for compact flag storage.
Definition internal.h:17
Low-level types and functions to work with raw OSM data as efficiently as possible.
Definition locationqueryoverlayproxymodel.h:15
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:55:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:55:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.