Page 1 of 1

String vs std::string

Posted: 11. Nov 2019, 16:19
by vibi27
Hi developer team,
The Arduino's class String is known to lead to memory leaks, and a nice replacement is std::string.
The pushSafer arduino library uses class String.
Do you plan to use std::string instead, and if yes, when ?
As std::string has also operators "=" and "+", this would be done in minutes.
For me it is a mandatory change before I plan to purchase your solution.
Thanks for your reply

Re: String vs std::string

Posted: 11. Nov 2019, 20:50
by admin
Hi,

you can make the changes by yourself before using the script on your arduino.
This https://github.com/appzer/pushsafer-arduino-library is only a simple example.

if you have further questions please feel free to ask.

Kevin

Re: String vs std::string

Posted: 14. Nov 2019, 15:26
by vibi27
Ok.