Without a constructor

Type initialization / Structures

#include <iostream>
using namespace std;

struct Size {
    int width, height;
};

struct Point {
    int top, left;
};

struct Rectangle {
    Size size;
    Point point;
};

Rectangle rect = {{10, 10}, {5, 5}};

cout << rect.size.height;