Pure self-use summary, without any technical content, the conclusion is, basically no difference .... Systems currently in use: ubuntu14.04ltsg++ (ubuntu 4.8.4-2ubuntu1~14.04.1) for the Debian department and CentOS7 4.8.4 Latest 16.04ltsg++ (UBUNTU&NBSP;5.3.1-10UBUNTU2) 5.3.1 20160225 ------------------------------ ---------------------View the version of the Redhat series: Cat/etc/redhat-releasecentos Linux release 7.1.1503 (Core) Company use centOS6.3 : g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16) is too old to move out of ING, not to watch. uses centOS7.1: g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) The main production platform used in the next few years --------------------- --------------------------------g++ Support--std=c++11 (c++1x = c++11,1y=14,1z=17) 14.04 4.8.4cent7 4.8.5 starting from 4.8 4.8.0 thread_local [[Noreturn]] void f (); property syntax Alignas (double) int i; Alignment specifier inheriting constructors: &N Bsp struct A {a (int);}; struct B:A {using a::a;}; Defines b::b (int) b b (42); ok 4.8.1 decltype ref-qualifiers & nbsp; 4.9 ISO C11: _atomic <stdatomic.h> _generic _thread_local __auto_type & nbsp c++1y : decltype (auto) &NB Sp [[deprecated]] Lambda capture Initializ ers [x = 42]{...}; Digit separators & nbsp generic (polymorphic) lambdas. libstdc++:std::make_unique 16.04 5.3.1 ISO c11:default mode for C is NOW-STD=GNU11 instead of -std=gnu89 c++14 : variable templates &N Bsp Extended constexpr g++5 most important:A New Implementation of std::string is enabled by default, using the small string optimization instead of Copy-on-writ e reference counting.A New Implementation of Std::list is enabled by default, with a O (1) size () function;Unbelievable list insists not to cache size until version 5.0 ..... Full support for c++11, including the following new features: std::d eque and Std::vector<bool> meet the Allocator-aware container requirements;movable and swappable iostream classes;Support for std::align and std::aligned_union;type Traits std::is_trivially_copyable, std::is_trivially_constructible, std::is_trivially_assignable etc.;I/o manipulators std::p ut_time, Std::get_time, Std::hexfloat and std::d efaultfloat;generic locale-aware Std::isblank;locale facets for Unicode conversion;atomic operations for Std::shared_ptr;std::notify_all_at_thread_exit () and functions for making futures ready at thread exit.
Differences in support for the new C + + standard for several major releases of GCC