cptr::ptr_with_payload::set_payload

Replaces the payload, keeping the pointer.

Synopsis

Declared in <cptr/pack.hpp>

constexpr
void
set_payload(uint32_t v) noexcept;