WString: unify numeric conversion and fix assignments by mcspr · Pull Request #8526 · esp8266/Arduino
Restore the pre-3.0.0 behaviour when we could assign numeric values to the string object. After introducing `operator =(char)`, everything was converted to `char` instead of the expected 'stringification' of the number (built-in int, long, unsigned int, unsigned long, long long, unsigned long long, float and double)
added 7 commits
March 31, 2022 01:29
mcspr
deleted the
arduino-string-can-assign-stuff
branch
TD-er
mentioned this pull request
hasenradball pushed a commit to hasenradball/Arduino that referenced this pull request
Nov 18, 2024Restore the pre-3.0.0 behaviour when we could assign numeric values to the string object. After introducing operator =(char), everything was converted to char instead of the expected 'stringification' of the number (built-in int, long, unsigned int, unsigned long, long long, unsigned long long, float and double) Add toString() that handles conversions, re-use it through out the class Fix esp8266#8430
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters