cptr::ptr_pair::ptr_pair

Compresses a and b, which must each be null or point into the cage.

Synopsis

Declared in <cptr/pack.hpp>

ptr_pair(
    A* a,
    B* b) noexcept;

Parameters

NameDescription
aThe object to construct from