file
reconstructor.h
Namespaces
- namespace checkpoint
- namespace checkpoint::dispatch
Classes
-
template<typename T>struct checkpoint::dispatch::InPlaceWrapper
- A wrapper class for in-place allocations that may not have a corresponding destructor. If a user has an existing allocation that is deserialized into, it may never be destructed as it gets copied or moved. This class encapsulates that allocation and ensures it is properly destroyed, or it explicitly requires
transferOwnership
to be invoked, indicating that the user is now responsible for its destruction. This typically occurs when the user or system places the type in a managed pointer, such as astd::unique_ptr<T>
with a standard deleter. -
template<typename T>struct checkpoint::dispatch::Reconstructor