#include <iostream>
#include <memory>
using namespace std;

int main() {
	
	class A
	{
		int huy;
	};
	class B: public A
	{
		int chlen;
	};


	A &&x1=B();
	shared_ptr<A> x2(B()); //сбацает копию или пирменит move semantics
	// your code goes here
	return 0;
}