[zypp-devel] libzypp and C++11
Now that C++11 is final, I would like to bring the discussion of using some features in future libzypp that could simplify parts of the code. gcc 4.6 will be already included in SLE-11-SP2, so if we use C++11 features on ZYpp 10.x (Factory) and in the future SLE-11-SP3 takes ZYpp 10.x or 11.x, it should not be a problem. Some of the features that look interesting for ZYpp: Type inference (auto keyword): to get rid of iterator boilerplate lambda expressions: defining callbacks inline for stuff like progress, keyring, etc nullptr: strongly-typed null std::initializer_list<> Uniform Initialization Range-based for-loop (kill our for_ :-) ) .... -- Duncan Mac-Vicar P. - http://www.suse.com/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Hi, On Wed, 21 Sep 2011, Duncan Mac-Vicar P. wrote:
Now that C++11 is final, I would like to bring the discussion of using some features in future libzypp that could simplify parts of the code.
gcc 4.6 will be already included in SLE-11-SP2,
As _unsupported_ nice-to-have for some customers. We certainly won't fix bugs in the C++11 implementation of that compiler. Ciao, Michael. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Duncan Mac-Vicar P.
-
Michael Matz