Project

General

Profile

Feature #1425

C++11

Added by Dobbs, Adam over 9 years ago.

Status:
Open
Priority:
Normal
Category:
Crazy Ideas
Target version:
Start date:
03 March 2014
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

Description

I would be interested in seeing C++11 support added to MAUS. There a number of strong motivations for this, some of my personal favourites being:

  • lambda functions
  • foreach loop syntax
  • auto types
  • improved standard container initialisation lists
  • fixed width integer types

See http://www.cprogramming.com/c++11/what-is-c++0x.html for example. I believe the features here can help us write better code, and more, help our developers, young and old, to become familiar with more modern coding techniques.

All that would be required is an upgrade of the bundled version of gcc, and a build flag or two (and of course dealing with any issues the new compiler version throws up for the existing code base). While support for C++11 is technically only in beta on gcc, a list of the features supported, together with gcc version is given at http://gcc.gnu.org/projects/cxx0x.html . As can be seen the feature set is all but complete. An additional motivation is that ROOT6, currently in beta, will also support C++11.

No data to display

Also available in: Atom PDF