We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5bed55 commit a1f8e3eCopy full SHA for a1f8e3e
extras/test/include/Arduino.h
@@ -38,6 +38,19 @@
38
typedef arduino::String String;
39
typedef bool boolean;
40
41
+#if defined(__cplusplus)
42
+
43
+#undef F
44
+// C++11 F replacement declaration
45
+template <typename T1>
46
+auto F(T1&& A)
47
+ -> const arduino::__FlashStringHelper*
48
+{
49
+ return (const arduino::__FlashStringHelper*)A;
50
+}
51
52
+#endif
53
54
/******************************************************************************
55
FUNCTION PROTOTYPES
56
******************************************************************************/
0 commit comments