cptr::ptr_pair::set_second

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

Synopsis

Declared in <cptr/pack.hpp>

void
set_second(B* b) noexcept;