tmp/tmp0qpzblbv/{from.md → to.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
### Pointers <a id="dcl.ptr">[[dcl.ptr]]</a>
|
| 2 |
|
| 3 |
In a declaration `T` `D` where `D` has the form
|
| 4 |
|
| 5 |
``` bnf
|
| 6 |
'*' attribute-specifier-seqₒₚₜ cv-qualifier-seqₒₚₜ 'D1'
|
|
@@ -8,12 +8,12 @@ In a declaration `T` `D` where `D` has the form
|
|
| 8 |
|
| 9 |
and the type of the identifier in the declaration `T` `D1` is
|
| 10 |
“*derived-declarator-type-list* `T`”, then the type of the identifier of
|
| 11 |
`D` is “*derived-declarator-type-list* *cv-qualifier-seq* pointer to
|
| 12 |
`T`”. The *cv-qualifier*s apply to the pointer and not to the object
|
| 13 |
-
pointed to. Similarly, the optional *attribute-specifier-seq*
|
| 14 |
-
[[dcl.attr.grammar]]
|
| 15 |
pointed to.
|
| 16 |
|
| 17 |
[*Example 1*:
|
| 18 |
|
| 19 |
The declarations
|
|
@@ -66,8 +66,8 @@ cv-unqualified pointer later, for example:
|
|
| 66 |
See also [[expr.ass]] and [[dcl.init]].
|
| 67 |
|
| 68 |
[*Note 1*: Forming a pointer to reference type is ill-formed; see
|
| 69 |
[[dcl.ref]]. Forming a function pointer type is ill-formed if the
|
| 70 |
function type has *cv-qualifier*s or a *ref-qualifier*; see
|
| 71 |
-
[[dcl.fct]]. Since the address of a bit-field
|
| 72 |
taken, a pointer can never point to a bit-field. — *end note*]
|
| 73 |
|
|
|
|
| 1 |
+
#### Pointers <a id="dcl.ptr">[[dcl.ptr]]</a>
|
| 2 |
|
| 3 |
In a declaration `T` `D` where `D` has the form
|
| 4 |
|
| 5 |
``` bnf
|
| 6 |
'*' attribute-specifier-seqₒₚₜ cv-qualifier-seqₒₚₜ 'D1'
|
|
|
|
| 8 |
|
| 9 |
and the type of the identifier in the declaration `T` `D1` is
|
| 10 |
“*derived-declarator-type-list* `T`”, then the type of the identifier of
|
| 11 |
`D` is “*derived-declarator-type-list* *cv-qualifier-seq* pointer to
|
| 12 |
`T`”. The *cv-qualifier*s apply to the pointer and not to the object
|
| 13 |
+
pointed to. Similarly, the optional *attribute-specifier-seq*
|
| 14 |
+
[[dcl.attr.grammar]] appertains to the pointer and not to the object
|
| 15 |
pointed to.
|
| 16 |
|
| 17 |
[*Example 1*:
|
| 18 |
|
| 19 |
The declarations
|
|
|
|
| 66 |
See also [[expr.ass]] and [[dcl.init]].
|
| 67 |
|
| 68 |
[*Note 1*: Forming a pointer to reference type is ill-formed; see
|
| 69 |
[[dcl.ref]]. Forming a function pointer type is ill-formed if the
|
| 70 |
function type has *cv-qualifier*s or a *ref-qualifier*; see
|
| 71 |
+
[[dcl.fct]]. Since the address of a bit-field [[class.bit]] cannot be
|
| 72 |
taken, a pointer can never point to a bit-field. — *end note*]
|
| 73 |
|