[Development] Upgrading the sources to C++11 keywords (Q_NULLPTR, etc.)

Thiago Macieira thiago.macieira at intel.com
Tue Feb 10 18:34:28 CET 2015


On Tuesday 10 February 2015 18:01:09 Christian Kandeler wrote:
> On 02/10/2015 05:33 PM, Olivier Goffart wrote:
> > Note that some STL implementation (most notably the GNU one) use implicit
> > sharing for std::string
> 
> I thought that was prohibited in C++11?

It is. But the C++98 mode std::string is implicitly-shared.

That means you cannot share a std::string created from C++98 code with a C++11 
code without recompilation.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list