Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@thebusybee because the Arduino IDE uses a custom C++ compiler that does not have most of the C++ libraries available in other C++ compilers (e.g. g++). This includes CPPUnit and object oriented error handling (try, catch, throw statements and error objects). While the assert library is available, it's not ideal. Also, most of our libraries do have direct hardware access.