String vs std::string

Pushsafer make it easy and safe to get push-notifications in real time on your Android or Windows mobile device, iPhone, iPad and Desktop!

Mit Pushsafer kann man in Echtzeit, einfach und sicher, Push-Benachrichtigungen auf sein iPhone, iPad, Android oder Windows Gerät sowie auf den Desktop senden lassen!

Google Play
App Store
Windows 10 Store
Posts: 15
Joined: 11. Nov 2019, 16:08

String vs std::string

Postby vibi27 » 11. Nov 2019, 16:19

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

User avatar
Site Admin
Posts: 648
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: String vs std::string

Postby admin » 11. Nov 2019, 20:50


you can make the changes by yourself before using the script on your arduino.
This is only a simple example.

if you have further questions please feel free to ask.

Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review! Website - iOS - Android - Windows 10

Posts: 15
Joined: 11. Nov 2019, 16:08

Re: String vs std::string

Postby vibi27 » 14. Nov 2019, 15:26


Who is online

Users browsing this forum: No registered users and 0 guests