[oolua] Strongly typed enums

  • From: SteelRat <steelrat@xxxxxxx>
  • To: oolua@xxxxxxxxxxxxx
  • Date: Fri, 31 Jan 2014 12:13:41 +0400

Hi, Liam.

How to use C++11 class enums? If i delete "class" - everything works fine, but there are too many classes with such enums, and i'm afraid to break library's logic.
/
//    enum class State : char//
//    {//
//            NORMAL = 0,//
//            ACTIVE, //
//    };/

I'd attached example project.

Attachment: SharedTest.zip
Description: Zip compressed data

Other related posts: