qgis / qgis4.0_api

Tracker for QGIS 4.0 API related issues and developer discussion
3 stars 1 forks source link

Use C++11 in source code #35

Closed wonder-sk closed 7 years ago

wonder-sk commented 8 years ago

All interesting features from c++11 have been introduced in compilers we use, so there is no reason not to switch to the newer standard and use the nice new stuff like:

m-kuhn commented 8 years ago

Proper link to new style signals and slots

nyalldawson commented 8 years ago

Also worth noting that Qt >= 5.7 will be c++11 only (https://wiki.qt.io/New_Features_in_Qt_5.7)

NathanW2 commented 7 years ago

I like that new signal and slot style.

nyalldawson commented 7 years ago

Done now, we've switched to c++11 only builds. I don't think we need to keep this task open and instead we can just implement bits of c++11 as required. It shouldn't affect api anyway.