C++17 Update:
static constexpr variables are implicitly inline so there\'s no external definition necessary.
Original qu
One difference is that you can take the address of a static constexpr but not of an enum.
Another is that constexpr isn't supported by older versions of the language (it was introduced in C++11).
I'd use enum only if the values belong together. I'd also give the enum a name that describes that relationship. I wouldn't use an enum for defining unrelated constants.