We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Remove class TypeInfo
Remove class TypeInfo
Refactor #2650 [Closed]
Status: | Closed | |
---|---|---|
Start date: | 2013-08-21 | |
Priority: | Normal | |
Due date: | ||
Assignee: | ||
% Done: | 100% |
|
Category: | all | |
Target version: | 3.0-alpha0 |
We use TypeInfo in cocos2d-x to assign a unique id to a class. The unique id is used in jsb.
In c++11 we can get the information from typeid::hash_code(), so can remove TypeInfo.