-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is case 4 of #11. In addition: * Make sure the header is also aligned. * Sanity check some promised properties (like, having the same size as the passed type) * Use ptr::write for initializing the header, to not create a reference to uninitialized data.
- Loading branch information
Showing
1 changed file
with
105 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters