-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
1. The current version got a lot of white space at line ends in Docs and Doxyfile.
Global replace with regular expression can be used or some kind of trim utility.
2. In ResizableMsgSupport.h lines 80, 86 and 92 can get const modifier, lke this:
inline BOOL Send_QueryProperties(HWND hWnd, const LPRESIZEPROPERTIES pResizeProperties)
- Ordering class members by size in descending order usually helps to avoid memory wasted for alignment.
For example, classCResizableMinMaxinResizableMinMax.hin 64-bit build needs 4-byte padding after the lastBOOL
It would be better to move the block ofBOOLmembers afterPOINTblock - no wasted space inside the class structure.
By the way, it is possible to visualise memory layout in the latest VS2022.
Metadata
Metadata
Assignees
Labels
No labels