Hacker News new | ask | show | jobs
by 112233 58 days ago
In my domain, code size is critical, so we use -fno-exceptions and -fno-rtti from necessity, for a good reason. Which means our code is non-conformant C++. Committee forces everyone to have exceptions and rtti always.
1 comments

OK. I would expect those flags to be required for most embedded work.

But I could imagine use cases for new-ish constructs like `constexpr`, `std::variant`, template constraints, and so on.

I don't quite follow what you are saying about the compilers. Are you saying that in future, compilers will have to choose between supporting new features and allowing non-conformant code?