cptr::ptr_pair::set_first

Replaces the first pointer (null or in the cage), keeping the second.

Synopsis

Declared in <cptr/pack.hpp>

void
set_first(A* a) noexcept;