Posts: 6,252
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,252
isn't it up to him to fix his changes?
Posts: 163
Joined: Mar 2012
Reputation:
8
Are there any instruction how to convert this code? I need to fix methods Format, Left, Equals, ... My C++ knowledge is almost zero.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
StringUtils::Format, StringUtils::Left, StringUtils::StartsWith() etc.
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
Would be nice if StringUtils would be available for the PVR addons so people could start transitioning them.
Posts: 5
Joined: Oct 2011
Reputation:
0
I've just stumbled across this post and started to wonder why you're avoiding CStdString?
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
FYI, I'm busy batch removing CStdString as a whole
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Well I didn't do it for the PVR addons but xbmc/xbmc should be CStdString-free.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 7,648
Joined: Jun 2011
Reputation:
287
cause its non-standard, needs extra classes, more stuff to maintain and build each time.
Posts: 1,506
Joined: Nov 2013
not to mention all the hacks needed to make it portable across compilers.
std:
tring is supplied everywhere. win win.