We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
C++11 approach: Update all test cases. Use @auto@ for local variables
C++11 approach: Update all test cases. Use @auto@ for local variables
Refactor #2517 [Closed]
- Subject changed from Hybrid approach: Update all test cases. Use @auto@ for local variables to C++11 approach: Update all test cases. Use @auto@ for local variables
- Assignee set to zhangxm
Status: | Closed | |
---|---|---|
Start date: | 2013-08-09 | |
Priority: | High | |
Due date: | ||
Assignee: | boyu0 | |
% Done: | 100% |
|
Category: | all | |
Target version: | 3.0-alpha0 |
All test cases and samples should update its local variables to use
auto
, at least for cocos2d object pointers.Example:
The good thing about this change is that we a following a best practice, and that code will be compatible with the current API and the final API of v3.0