Depending on C++11 <system_error> introduces a link-time requirement to
C++11 symbols. Removing it allows us to depend on header-only C++11 and
up libraries.
Partially fixes http://llvm.org/PR32274 -- we know there's more invasive work
to be done, but we're doing it incrementally.
No action required here. Just a general style question.
enum class is sometimes annoying by removing the implicit cast to numeric.
For something like error codes, having the implicit cast is so natural.
What do you think of constructs where you still get scoping and implicit cast like:
class Errorcodes { enum Error { OK = 0, ... }; };
or similar with a namespace instead of a class?