-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
16 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5444,12 +5444,11 @@ Produces an injected declaration `$D$` ([expr.const]) that provides a definition | |
- [#.#]{.pnum} If `$C$` is a specialization of a class template `$T$`, then `$D$` is is an explicit specialization of `$T$`. | ||
- [#.#]{.pnum} `$D$` contains a public non-static data member corresponding to each reflection value `@$r$~$K$~@` in `mdescrs`. For every other `@$r$~$L$~@` in `mdescrs` such that `$K$ < $L$`, the declaration of `@$r$~$K$~@` precedes the declaration of `@$r$~$L$~@`. | ||
- [#.#]{.pnum} The non-static data member corresponding to each `@$r$~$K$~@` is declared with the type or `$typedef-name$` represented by `@$t$~$K$~@`. | ||
- [#.#]{.pnum} Non-static data members corresponding to reflections `@$r$~$K$~@` for which `@[email protected]_unique_address` is `true` are declared with the attribute `[[no_unique_address]]`. | ||
- [#.#]{.pnum} Non-static data members corresponding to reflections `@$r$~$K$~@` for which `@[email protected]_width` contains a value are declared as bit-fields whose width is that value. | ||
- [#.#]{.pnum} Non-static data members corresponding to reflections `@$r$~$K$~@` for which `@[email protected]` contains a value are declared with the `$alignment-specifier$` `alignas(@[email protected])`. | ||
- [#.#]{.pnum} Non-static data members corresponding to reflections `@$r$~$K$~@` are declared with names determined as follows: | ||
- If `@[email protected]_width` contains the value zero, the non-static data member is declared without a name. | ||
- Otherwise, if `has_identifier(@$r$~$K$~@)` is `false`, the non-static data member is unnamed. | ||
- [#.#]{.pnum} A non-static data member corresponding to a reflection `@$r$~$K$~@` for which `@[email protected]_unique_address` is `true` is declared with the attribute `[[no_unique_address]]`. | ||
- [#.#]{.pnum} A non-static data member corresponding to a reflection `@$r$~$K$~@` for which `@[email protected]_width` contains a value is declared as a bit-field whose width is that value. | ||
- [#.#]{.pnum} A non-static data member corresponding to a reflection `@$r$~$K$~@` for which `@[email protected]` contains a value is declared with the `$alignment-specifier$` `alignas(@[email protected])`. | ||
- [#.#]{.pnum} A non-static data member corresponding to a reflection `@$r$~$K$~@` is declared with a name determined as follows: | ||
- If `@[email protected]` does not contain a value, the non-static data member is declared without a name. | ||
- Otherwise, the name of the non-static data member is the identifier determined by the character sequence encoded by `u8identifier_of(@$r$~$K$~@)` in UTF-8. | ||
- [#.#]{.pnum} If `$C$` is a union type for which any of its members are not trivially default constructible, then it has a user-provided default constructor which has no effect. | ||
- [#.#]{.pnum} If `$C$` is a union type for which any of its members are not trivially default destructible, then it has a user-provided default destructor which has no effect. | ||
|