We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ddbf01 commit 8e385bfCopy full SHA for 8e385bf
hardware/arduino/avr/cores/arduino/WString.h
@@ -89,6 +89,8 @@ class String
89
#if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__)
90
String & operator = (String &&rval);
91
String & operator = (StringSumHelper &&rval);
92
+ auto begin() -> const char* { return c_str(); }
93
+ auto end() -> const char* { return c_str() + length(); }
94
#endif
95
96
// concatenate (works w/ built-in types)
0 commit comments