Currently when building with CMake we default to always generating the bridging headers size and aligned size for usage in std::aligned_storage. This PR allows you to override that and use std::shared_ptrfor the Core bridged types instead. This is required when we can't generate the bridging headers correctly or a package manager might not allow it.
Currently when building with CMake we default to always generating the bridging headers size and aligned size for usage in
std::aligned_storage
. This PR allows you to override that and usestd::shared_ptr
for the Core bridged types instead. This is required when we can't generate the bridging headers correctly or a package manager might not allow it.