We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4460159 commit 34f8f71Copy full SHA for 34f8f71
src/throw_out_of_range.cpp
@@ -0,0 +1,9 @@
1
+#include <Arduino.h>
2
+
3
+//TODO(edcoyne): remove this when it is present upstream.
4
+// Currently this is needed to use std::string on Arduino.
5
+namespace std{
6
+void __throw_out_of_range(const char* str) {
7
+ panic();
8
+}
9
0 commit comments