#include <iostream>

class StaticExample {
public:
	static int n_constructions;

    StaticExample() {
    	n_constructions++;
    	std::cout << "construction number " << n_constructions << std::endl;
    }
};

int StaticExample::n_constructions = 0;

int main() {
	for (int i = 0; i < 5; i++) {
		StaticExample se;
	}
}