Why do some structures end with an array of size 1? - blog"The Old New Thing"
Stackoverflow - Array of zero length
cppreference - remove_extent
Internal reference:
[C++ / C][NOTE] The Lost Art of C Structure Packing by Eric S. Raymond
Stackoverflow - Array of zero length
cppreference - remove_extent
Internal reference:
[C++ / C][NOTE] The Lost Art of C Structure Packing by Eric S. Raymond
- Using of zero size array in a structure mainly due to padding.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.