libycxx

class template

std::pointer_tag_pair

Header
<memory>
Scope
std
cppreference
<memory> nearest page

Synopsis

template<
    class Ptr,
    unsigned int BitsRequested = bits-available<element-of<Ptr>>,
    class TagT = unsigned int>
class pointer_tag_pair;

Member types

NameDeclaration
element_typetype alias · member type= pointer_traits<Ptr>::element_type
pointer_typetype alias · member type= Ptr
tag_typetype alias · member type= TagT
tagged_pointer_typetype alias · member type= /* implementation-defined */*

Member functions

NameDeclaration
pointer_tag_pairconstructor · 3 overloadspointer_tag_pair() +2 more
pointermember functionpointer_type pointer() const
swapmember functionvoid swap(pointer_tag_pair& o)
tagmember functiontag_type tag() const
tagged_pointermember functiontagged_pointer_type tagged_pointer() const

Static member functions

NameDeclaration
from_overalignedstatic member function templatepointer_tag_pair from_overaligned(U* p, tag_type t)
from_taggedstatic member functionpointer_tag_pair from_tagged(tagged_pointer_type p)

Static data members

NameDeclaration
bits_requestedstatic data memberunsigned int