Xemuth Messages: 387 Registered: August 2018 Location: France
Senior Member
Hello
I have thoses enum class :
TiledMap.h
enum class TiledOrientation{Orthogonal, Isometrique, IsometriqueEchelonne, HexagonalEchelonne};
enum class TiledRenderOrder{RightDown, RightTop, LeftDown, LeftUp};
enum class TiledType{Map};
enum class TiledLayerType{TileLayer};
When starting to type "Tiled" in my code (in order to use thoses enum by example) I face this :
All the empty name are my enums, if I go on one of them, it work.
Klugier Messages: 1087 Registered: September 2012 Location: Poland, Kraków
Senior Contributor
Hello Xemuth,
This is, because Mirek stil uses old style enum without class keyword Anyway, for the newly written code, I always use this construction. This is definitly worth to support, especially this feature is with us since 2011 (c++11).