예제 #1
0
//ʹÓÃmap³õʼ»¯
UserData* UserData::create(Value& value)
{
	UserData* pRet = new(std::nothrow) UserData();
	if (pRet && pRet->init(value))
	{
		pRet->autorelease();
		return pRet;
	}
	else
	{
		delete pRet;
		pRet = NULL;
		return NULL;
	}
}