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
Homepage
vibi27
Posts: 11
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
admin
Site Admin
Posts: 479
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: String vs std::string

Postby admin » 11. Nov 2019, 20:50

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
DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
EN: You like Service and Support! Then we look forward to your review!

Pushsafer.com Website - iOS - Android - Windows 10

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

Re: String vs std::string

Postby vibi27 » 14. Nov 2019, 15:26

Ok.


Who is online

Users browsing this forum: Google [Bot] and 4 guests