1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00
Pauline Middelink 3f1ab1fd81 Updated String library to use C++11 iterators. (#2267)
This will allow using the String library in a ranged for loop:

```C++
String s("Hi, this is a test");

for (const char& ch : s) {
  Serial.print(ch);
}
```

and even modify

```C++
String s("Hi, this is another test");

for (char& ch : s) {
  ch++;
}
Serial.println(s);
```
2016-07-18 19:31:34 +08:00
..
2016-03-10 13:00:38 +03:00
2016-05-26 15:28:29 -07:00
2015-12-09 13:51:39 +01:00
2015-12-09 13:51:39 +01:00
2015-10-29 10:51:51 +02:00
2015-05-25 09:47:13 +02:00
2016-05-20 10:20:04 +08:00
2016-05-20 10:20:04 +08:00
2016-05-20 10:20:04 +08:00
2016-06-23 17:27:57 +08:00
2015-10-29 10:51:51 +02:00
2016-05-20 10:20:04 +08:00
2016-03-03 02:13:22 +03:00
2016-06-23 17:27:57 +08:00
2016-03-12 19:21:32 +02:00
2016-05-26 12:53:48 +02:00
2016-07-08 10:11:14 +08:00
2016-07-08 10:11:14 +08:00
2014-12-01 00:34:28 +03:00
2016-03-03 02:13:22 +03:00