[Interest] Why QString and not std::string?

Alex Strickland sscc at mweb.co.za
Sat Jun 16 15:06:05 CEST 2012


On 2012/06/15 07:26 PM, Charley Bay wrote:

> (1) Its interface is too minimal (insufficient)
> (2) Its implementation is limited
> (3) It does not support real-world-unicode use
>
> That's my venting because for over a decade I never understood why
> people thought std::string was an acceptable component.  IMHO it's
> absolutely useless.  And dangerous.  I don't care if I'm the only one on
> the planet with my conclusion, but IMHO, std::string is
> absolutely unusable insufficient crap.

I enjoyed this article: http://www.gotw.ca/gotw/084.htm

Herb Sutter's not too thrilled with it, but iirc the interface being 
minimal isn't one of the reasons :)

-- 
Regards
Alex





More information about the Interest mailing list