arduino / arduino/ArduinoCore-API
class String constant opeator [] should return const reference!
オープン
- 主要言語
- C++
- スター
- 306
- フォーク
- 150
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
commonly people want get the buffer ptr by a constant String object like below:
const String &str;
const char *p = &str[0];
BUT now the constant operator [] returns a temp char object, i don't think it is better.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。