C++11 in Hall D Online

From GlueXWiki
Revision as of 15:32, 11 July 2013 by Wolin (Talk | contribs) (Created page with "Below I list a number of new C++11 features that should be interesting for use in the Hall D Online. The most important ones concern programming safety, i.e. they plug safety lo...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Below I list a number of new C++11 features that should be interesting for use in the Hall D Online. The most important ones concern programming safety, i.e. they plug safety loopholes in C++ that have been there for ages. The second type concern programming convenience, i.e. they make the code easier to write and understand. Although we do not have any hard-and-fast programming rules for the online, I strongly feel the safety features should be used in all new code. I would recommend use of the convenience features but this is a personal decision. Note that I take it for granted the old C++98 features will be used regularly (e.g. the STL).


Safety



Convenience