[Interest] Why QString and not std::string?
Sven Anderson
Sven.Anderson at snom.com
Fri Jun 15 15:21:25 CEST 2012
On 15.06.2012 14:58, Thiago Macieira wrote:
> On sexta-feira, 15 de junho de 2012 16.12.55, Constantin Makshin wrote:
>> 3. std::string's behavior (e.g. use of the copy-on-write technique) is
>> implementation-dependent while QString is the same everywhere.
>
> C++11 bans that. C++11 says that std::string must not be refcounted.
Honestly? I'm confused... Is there any copy-on-write alternative in the
standard then?
Sven
More information about the Interest
mailing list