@spun_off is there a way to make gcc trap when it falls off the end of a fn? their behavior wrt PR28236 is idiotic.
Yes. enum types differ so much from ppl's expectations that I generally Consider Harmful any use of them...
-
-
well that's stupid. defines or collections of constants are way worse at indicating intent
-
enum classes at least fixed the size and namespacing problems! progress!
-
size? One of the problems with enums is that the underlying type is chosen by the compiler following usually-not-documented algo
-
yes, in C++ you can do `enum class Foo : uint32_t` etc
-
in C++11, but that goes without saying in this year
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.