+ 1
which is the latest programming language
latest programming language
2 Respuestas
+ 4
Delete this one
Please don't spam by making multiple posts with the same subject.
You have already got your answer on the other one.
0
c++ 17 aka c++1z
what's new:
...Making the text message for static_assert optional
...Removal of Allow typename (as an alternative to class) in a template template parameter
...New rules for deduction from braced-init-list
...Nested namespace definitions, e.g., namespace X::Y { … } instead of namespace X { namespace Y { … }}
...Allowing attributes for namespaces and enumerators
...New standard at/ tributes [[fallthrough]], [[maybe_unused]] and [[nodiscard]] character literals (string has existed since )
...Hexadecimal floating-point literals
...Constant evaluation for all non-type template arguments
...Fold expressions, for variadic templates
...A compile-time static if with the form if constexpr(expression)
...Structured binding declarations, allowing auto [a, b] = getTwoReturnValues();
...Initializers in if and switchstatements
...copy-initialization and direct-initialization of objects type T from prvalue expressions of type T (ignoring t-level cv-qualifiers) shall result in no copy or move constructors from the prvalue expression
...Some extensions on over-aligned memory allocation
...Template deduction of constructors, allowing std::pair(5.0,false)instead of std::pair<double,bool>(5.0, false)
...Inline variables, which allows the definition of variables in header files.
...__has_include, allowing the availability of a header to be checked by preprocessor directives
...Value of __cplusplus changed to 201703L