#include <iostream>
#include <vector>

using HuySize = std::size_t;

class Bydlo {
public:
	Bydlo(HuySize hs = 1) : huy_size{ new HuySize{ hs } } {} 
	Bydlo(const Bydlo& bydlo) : huy_size{ new HuySize{ *bydlo.huy_size + 1 } } {}
	~Bydlo() { delete this->huy_size; }
	auto syebi(void) { return this->huy_size; } 
private:
	HuySize* huy_size;
};


int main()
{
	Bydlo bydlo{};
	std::vector<Bydlo> mnogo_bydla( 10, bydlo );
	std::cout << *bydlo.syebi() << std::endl;
	for (auto& bydla : mnogo_bydla) {
		std::cout << *bydla.syebi() << std::endl;
	}
	return 0;
}