mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 09:01:40 +01:00 
			
		
		
		
	* 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
		
			
				
	
	
		
			12 lines
		
	
	
		
			183 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			183 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifdef __cpp_exceptions
 | 
						|
 | 
						|
#include "esp_exception.hpp"
 | 
						|
 | 
						|
namespace idf {
 | 
						|
 | 
						|
ESPException::ESPException(esp_err_t error) : error(error) { }
 | 
						|
 | 
						|
} // namespace idf
 | 
						|
 | 
						|
#endif // __cpp_exceptions
 |