#include <iostream>
#include <memory>

class X
{
public:
	X()
	{
		std::cout << "X::X()\n";
	}
	
	~X()
	{
		std::cout << "X::~X()\n";
	}
};

int main()
{
	static auto x1 = X{};
	
	auto x2 = X{};
	
	auto x3 = std::make_unique<X>();
}