|
2509 | 2509 | \indextext{lookup!class member}% |
2510 | 2510 | In a class member access expression\iref{expr.ref}, if the \tcode{.} |
2511 | 2511 | or \tcode{->} token is immediately followed by an \grammarterm{identifier} |
2512 | | -followed by a \tcode{<}, the identifier must be looked up to determine |
| 2512 | +followed by a \tcode{<}, the identifier is looked up to determine |
2513 | 2513 | whether the \tcode{<} is the beginning of a template argument |
2514 | 2514 | list\iref{temp.names} or a less-than operator. The identifier is first |
2515 | 2515 | looked up in the class of the object expression\iref{class.member.lookup}. |
|
3615 | 3615 | automatic storage duration, upon exit from the thread for an object with |
3616 | 3616 | thread storage duration, or upon exit from the program for an object |
3617 | 3617 | with static storage duration.} |
3618 | | -the program must ensure that an object of the original type occupies |
| 3618 | +and another object of the original type does not occupy |
3619 | 3619 | that same storage location when the implicit destructor call takes |
3620 | | -place; otherwise the behavior of the program is undefined. This is true |
| 3620 | +place, the behavior of the program is undefined. This is true |
3621 | 3621 | even if the block is exited with an exception. |
3622 | 3622 | \begin{example} |
3623 | 3623 | \begin{codeblock} |
|
6157 | 6157 | programs cannot observe most program transformations that do not change |
6158 | 6158 | single-threaded program semantics. In fact, most single-threaded program |
6159 | 6159 | transformations continue to be allowed, since any program that behaves |
6160 | | -differently as a result must perform an undefined operation. |
| 6160 | +differently as a result has undefined behavior. |
6161 | 6161 | \end{note} |
6162 | 6162 |
|
6163 | 6163 | \pnum |
|
0 commit comments