struct Rect
{
- int left;
- int bottom;
- unsigned width;
- unsigned height;
+ int left = 0;
+ int bottom = 0;
+ unsigned width = 0;
+ unsigned height = 0;
- Rect(): left(0), bottom(0), width(0), height(0) { }
+ Rect() = default;
Rect(int l, int b, unsigned w, unsigned h): left(l), bottom(b), width(w), height(h) { }
};