diff options
Diffstat (limited to 'cores/arduino')
-rw-r--r-- | cores/arduino/WString.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h index b047980..4667a0d 100644 --- a/cores/arduino/WString.h +++ b/cores/arduino/WString.h @@ -89,6 +89,8 @@ public: #if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__) String & operator = (String &&rval); String & operator = (StringSumHelper &&rval); + auto begin() -> const char* { return c_str(); } + auto end() -> const char* { return c_str() + length(); } #endif // concatenate (works w/ built-in types) |