|
1 | 1 | --- |
2 | 2 | title: "C++ conformance improvements | Microsoft Docs" |
3 | 3 | ms.custom: "" |
4 | | -ms.date: "03/11/2018" |
| 4 | +ms.date: "06/01/2018" |
5 | 5 | ms.technology: ["cpp-language"] |
6 | 6 | ms.topic: "conceptual" |
7 | 7 | ms.assetid: 8801dbdb-ca0b-491f-9e33-01618bff5ae9 |
@@ -47,31 +47,31 @@ Range-based for loops no longer require that begin() and end() return objects of |
47 | 47 |
|
48 | 48 | ### constexpr lambdas |
49 | 49 |
|
50 | | -Lambda expressions may now be used in constant expressions. For more information, see [Constexpr Lambda](http://open-std.org/JTC1/SC22/WG21/docs/papers/2015/n4487.pdf). |
| 50 | +Lambda expressions may now be used in constant expressions. For more information, see [constexpr lambda expressions in C++](cpp/lambda-expressions-constexpr.md). |
51 | 51 |
|
52 | 52 | ### if constexpr in function templates |
53 | 53 |
|
54 | | -A function template may contain `if constexpr` statements to enable compile-time branching. For more information, see [if constexpr](http://open-std.org/JTC1/SC22/WG21/docs/papers/2016/p0128r1.html). |
| 54 | +A function template may contain `if constexpr` statements to enable compile-time branching. For more information, see [if constexpr statements](cpp/if-else-statement-cpp.md#if_constexpr). |
55 | 55 |
|
56 | 56 | ### Selection statements with initializers |
57 | 57 |
|
58 | | -An `if` statement may include an initializer that introduces a variable at block scope within the statement itself. For more information, see [Selection statements with initializer](http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2016/p0305r1.html). |
| 58 | +An `if` statement may include an initializer that introduces a variable at block scope within the statement itself. For more information, see [if statements with initializer](cpp/if-else-statement-cpp.md#if_with_init). |
59 | 59 |
|
60 | 60 | ### [[maybe_unused]] and [[nodiscard]] attributes |
61 | 61 |
|
62 | | -New attributes to silence warnings when an entity is not used, or to create a warning if the return value of a function call is discarded. For more information, see [Wording for maybe_unused attribute](http://open-std.org/JTC1/SC22/WG21/docs/papers/2016/p0212r0.pdf) and [Proposal of unused,nodiscard and fallthrough attributes](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0068r0.pdf). |
| 62 | +New attributes to silence warnings when an entity is not used, or to create a warning if the return value of a function call is discarded. For more information, see [Attributes in C++](cpp/attributes.md). |
63 | 63 |
|
64 | 64 | ### Using attribute namespaces without repetition |
65 | 65 |
|
66 | 66 | New syntax to enable only a single namespace identifier in an attribute list. For more information, see [Attributes in C++](cpp/attributes.md). |
67 | 67 |
|
68 | 68 | ### Structured bindings |
69 | 69 |
|
70 | | -It is now possible in a single declaration to store a value with individual names for its components, when the value is an array, a std::tuple or std::pair, or has all public non-static data members. For more information, see [Structured Bindings](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0144r0.pdf). |
| 70 | +It is now possible in a single declaration to store a value with individual names for its components, when the value is an array, a std::tuple or std::pair, or has all public non-static data members. For more information, see [Structured Bindings](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0144r0.pdf) and [Returning multiple values from a function](cpp/functions-cpp.md#multi_val). |
71 | 71 |
|
72 | 72 | ### Construction rules for enum class values |
73 | 73 |
|
74 | | -There is now an implicit/non-narrowing conversion from a scoped enumeration's underlying type to the enumeration itself, when its definition introduces no enumerator and the source uses a list-initialization syntax. For more information, see [Construction Rules for enum class Values](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0138r2.pdf). |
| 74 | +There is now an implicit/non-narrowing conversion from a scoped enumeration's underlying type to the enumeration itself, when its definition introduces no enumerator and the source uses a list-initialization syntax. For more information, see [Construction Rules for enum class Values](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0138r2.pdf) and [Enumerations](cpp/enumerations-cpp.md#no_enumerators). |
75 | 75 |
|
76 | 76 | ### Capturing *this by value |
77 | 77 |
|
@@ -205,6 +205,8 @@ struct B : A { |
205 | 205 | B b(42L); // now calls B(int) |
206 | 206 | ``` |
207 | 207 |
|
| 208 | +For more information, see [Constructors](cpp/constructors-cpp.md#inheriting_constructors). |
| 209 | + |
208 | 210 | ### C++17 Extended aggregate initialization |
209 | 211 |
|
210 | 212 | [P0017R1](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0017r1.html) |
|
0 commit comments