Created
February 12, 2014 09:20
-
-
Save kobayashi-poppin-games/8952311 to your computer and use it in GitHub Desktop.
統一初期化構文は使えない
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// std::vectorのように書きたいところだが | |
std::vector<Sprite*> sprites = {sprite1, sprite2, sprite3}; | |
// こうはいかない | |
cocos2d::Vector<Sprite*> sprites = {sprite, sprite2, sprite3}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment