mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
C++: Moved all C++ examples to own folder
* moved C++ examples to a new cxx folder in examples * added experimental C++ component * added ESPException class to the C++ experimental component * added test cases for ESPException and corresponding test macros
This commit is contained in:

committed by
Mahavir Jain

parent
a0644bf8ae
commit
31edd48b43
@@ -0,0 +1,11 @@
|
||||
#ifdef __cpp_exceptions
|
||||
|
||||
#include "esp_exception.hpp"
|
||||
|
||||
namespace idf {
|
||||
|
||||
ESPException::ESPException(esp_err_t error) : error(error) { }
|
||||
|
||||
} // namespace idf
|
||||
|
||||
#endif // __cpp_exceptions
|
Reference in New Issue
Block a user