|
632 | 632 | active, and has been superseded by \tcode{uncaught_exceptions}.
|
633 | 633 | \effect
|
634 | 634 | A valid \CppXVII{} program that calls \tcode{std::uncaught_exception} may fail
|
635 |
| -to compile. It might be revised to use \tcode{std::uncaught_exceptions} instead, |
| 635 | +to compile. It can be revised to use \tcode{std::uncaught_exceptions} instead, |
636 | 636 | for clear and portable semantics.
|
637 | 637 |
|
638 | 638 | \nodiffref
|
|
920 | 920 | if it has a potentially throwing dynamic exception specification,
|
921 | 921 | is rejected as ill-formed in this revision of \Cpp{}.
|
922 | 922 | Violating a non-throwing dynamic exception specification
|
923 |
| -calls \tcode{terminate} |
924 |
| -rather than \tcode{unexpected} |
925 |
| -and might not perform stack unwinding prior to such a call. |
| 923 | +calls \tcode{terminate} rather than \tcode{unexpected}, |
| 924 | +and it is unspecified whether stack unwinding is performed |
| 925 | +prior to such a call. |
926 | 926 |
|
927 | 927 | \rSec2[diff.cpp14.library]{\ref{library}: library introduction}
|
928 | 928 |
|
|
1111 | 1111 | \rationale
|
1112 | 1112 | Required for sized deallocation.
|
1113 | 1113 | \effect
|
1114 |
| -Valid \CppXI{} code could declare a global placement allocation function and |
| 1114 | +Valid \CppXI{} code can declare a global placement allocation function and |
1115 | 1115 | deallocation function as follows:
|
1116 | 1116 | \begin{codeblock}
|
1117 | 1117 | void* operator new(std::size_t, std::size_t);
|
|
1996 | 1996 | \effect
|
1997 | 1997 | Deletion of semantically well-defined feature.
|
1998 | 1998 | \difficulty
|
1999 |
| -Could be automated. |
| 1999 | +Can be automated. |
2000 | 2000 | Violations will be diagnosed by the \Cpp{} translator.
|
2001 | 2001 | The
|
2002 | 2002 | fix is to add a cast.
|
|
2255 | 2255 | Deletion of semantically well-defined feature.
|
2256 | 2256 | \difficulty
|
2257 | 2257 | Syntactic transformation.
|
2258 |
| -Could be automated. |
| 2258 | +Can be automated. |
2259 | 2259 | \howwide
|
2260 | 2260 | Common.
|
2261 | 2261 |
|
|
2585 | 2585 | \difficulty
|
2586 | 2586 | Semantic transformation.
|
2587 | 2587 | To make the struct type name visible in the scope of the enclosing
|
2588 |
| -struct, the struct tag could be declared in the scope of the |
| 2588 | +struct, the struct tag can be declared in the scope of the |
2589 | 2589 | enclosing struct, before the enclosing struct is defined.
|
2590 | 2590 | Example:
|
2591 | 2591 | \begin{codeblock}
|
|
2597 | 2597 |
|
2598 | 2598 | All the definitions of C struct types enclosed in other struct
|
2599 | 2599 | definitions and accessed outside the scope of the enclosing
|
2600 |
| -struct could be exported to the scope of the enclosing struct. |
| 2600 | +struct can be exported to the scope of the enclosing struct. |
2601 | 2601 | Note: this is a consequence of the difference in scope rules,
|
2602 | 2602 | which is documented in \ref{basic.scope}.
|
2603 | 2603 | \howwide
|
|
0 commit comments