On 09/05/2015 11:37, Jean-Marc Lasgouttes wrote:
Le 09/05/2015 09:18, Abdelrazak Younes a écrit :
On 08/05/2015 22:13, Jean-Marc Lasgouttes wrote:
With C++11, auto_ptr is deprecated and we get warnings.

I am trying to see how we can get rid of it. unique_ptr is new to
C++11, so I'd rather avoid that.

Why that?
unique_ptr is supported since gcc 4.4 released in 2009:

We just have to check that this does not require to be in C++11 mode.

I guess it does.

Or we could decide to make C++11 the default.

Exactly my point ;-)


But quite frankly C++11 is very nice and moving to gcc 4.7 would enable
almost full C++11...; "auto" for example would improve the readability
of the code significantly. C++11 thread are quite nice as well if you
want to get rid of Qt thread in the core.

I agree that C++11 is very desirable. But releasing 2.2 soon is even more desirable.

Sure.

Abdel.

Reply via email to