Improved experimental support for the upcoming ISO C++ standard, C++14, including:įixing constexpr member functions without const The associative containers in and and the unordered associative containers in and meet the allocator-aware container requirements a functional object that will increment any type Long numeric literals can be subdivided with a single quote ' to enhance readability: int i = 1048576 Int j = bar(2) // warning: 'int bar(int)' is deprecated : bar is unsafe use foo() instead ]Ī aa // warning: 'A' is deprecated : A is deprecated in C++14 Use B instead Most notably, it adds decltype(auto) for getting decltype semantics rather than the template argument deduction semantics of plain auto: int& f() ĭecltype(auto) i2 = f() // int& G++ supports C++1y lambda capture initializers: // throws std::bad_array_length if n 201103Ĭlass ] A The G++ implementation of C++1y return type deduction for normal functions has been updated to conform to N3638, the proposal accepted into the working paper. See for more information about changes in GCC 4.9. V arious kinds of undefined behaviors in programs can be now diagnosed at runtime through Undefined Behavior Sanitizer. Support for various C++14 additions have been added to the C++ Front End, on the standard C++ library side the most important addition is support for the C++11. GCC 4.9.0 is now available, with further improved C++11 and C++14 conformance. « Prev Next » GCC 4.9.0 released, full of improved C++11 and C++14 features
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |