cptr::detail::decompress_as

Cage::decompress, but constant-evaluable for null: the check runs only in constant evaluation, so the run-time code is the cage's.

Synopsis

Declared in <cptr/pack.hpp>

template<
    class T,
    class Cage>
constexpr
T*
decompress_as(uint32_t bits) noexcept;