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, class CResizableMinMax in ResizableMinMax.h in 64-bit build needs 4-byte padding after the last BOOL
It would be better to move the block of BOOL members after POINT block - no wasted space inside the class structure.
By the way, it is possible to visualise memory layout in the latest VS2022.
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
trimutility.2. In
ResizableMsgSupport.hlines 80, 86 and 92 can getconstmodifier, lke this:inline BOOL Send_QueryProperties(HWND hWnd, const LPRESIZEPROPERTIES pResizeProperties)For example, class
CResizableMinMaxinResizableMinMax.hin 64-bit build needs 4-byte padding after the lastBOOLIt would be better to move the block of
BOOLmembers afterPOINTblock - no wasted space inside the class structure.By the way, it is possible to visualise memory layout in the latest VS2022.