class template
std::pointer_tag_pair
Synopsis
template<
class Ptr,
unsigned int BitsRequested = bits-available<element-of<Ptr>>,
class TagT = unsigned int>
class pointer_tag_pair;Member types
| Name | Declaration |
|---|---|
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
| Name | Declaration |
|---|---|
pointer_tag_pairconstructor · 3 overloads | pointer_tag_pair() +2 more |
pointermember function | pointer_type pointer() const |
swapmember function | void swap(pointer_tag_pair& o) |
tagmember function | tag_type tag() const |
tagged_pointermember function | tagged_pointer_type tagged_pointer() const |
Static member functions
| Name | Declaration |
|---|---|
from_overalignedstatic member function template | pointer_tag_pair from_overaligned(U* p, tag_type t) |
from_taggedstatic member function | pointer_tag_pair from_tagged(tagged_pointer_type p) |
Static data members
| Name | Declaration |
|---|---|
bits_requestedstatic data member | unsigned int |