Use the allocator of the Schema for its Pointer.
The Pointer passed to construct the Schema can be from the stack or any transient storage, so the copy stored in the Schema must have the same lifetime/allocator as the Schema itself.
Showing
Please
register
or
sign in
to comment