#include <UDRefl/UDRefl.h>
#include <iostream>

using namespace Ubpa;
using namespace Ubpa::UDRefl;

int main() {
	Mngr->RegisterTypeAuto<std::vector<size_t>>();
	SharedObject vec = Mngr->MakeShared(TypeID::of<std::vector<size_t>>);
	for (size_t i = 0; i < 5; i++)
		vec->push_back(i);
	for (SharedObject ele : vec)
		std::cout << ele->TypeName() << ": " << ele << std::endl;
	return 0;
}

