OSM::Internal::TaggedPointer

Search for usage in LXR

OSM::Internal::TaggedPointer< T > Class Template Reference

#include <internal.h>

Inheritance diagram for OSM::Internal::TaggedPointer< T >:

Public Member Functions

constexpr TaggedPointer (T *ptr, uint8_t tag)
 
constexpr T * get () const
 
constexpr operator bool () const
 
constexpr bool operator!= (TaggedPointer< T > other) const
 
constexpr bool operator< (TaggedPointer< T > other) const
 
constexpr bool operator== (TaggedPointer< T > other) const
 
constexpr void set (T *data)
 
constexpr void setTag (uint8_t tag)
 
constexpr uint8_t tag () const
 

Detailed Description

template<typename T>
class OSM::Internal::TaggedPointer< T >

Pointer with the lower bits used for compact flag storage.

Definition at line 16 of file internal.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Oct 22 2021 23:03:53 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.