Timeline for Text-based Tetris game CRTP 3
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 17, 2015 at 15:20 | vote | accept | MORTAL | ||
Jan 15, 2015 at 19:36 | comment | added | MORTAL | sorry for that link it wasn't the code i meant it. i'm working on code hopefully i will fix it. | |
Jan 15, 2015 at 19:20 | comment | added | nwp |
You had some small errors in your code (#include <exception> instead of #include <stdexcept> , missing #include <type_traits> , confusing FROM with from , wrong operator, mixing enums and int s). Try this one. Also adding operators for all enum class es is not a good idea.
|
|
Jan 15, 2015 at 18:37 | comment | added | nwp | @MORTAL I tested the code in Visual Studio Express 2013 update 4 and it worked fine. | |
Jan 15, 2015 at 18:33 | comment | added | MORTAL | i don't think this will work. i have tried strong type enum before but VC++ won't compile it. | |
Jan 15, 2015 at 14:50 | history | answered | nwp | CC BY-SA 3.0 |