Author:manus

Date:2009-11-19T22:51:42.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@362 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
manus
2009-11-19 22:51:42 +00:00
parent f08c495528
commit e1e03f95b1
9 changed files with 35 additions and 13 deletions

View File

@@ -178,7 +178,7 @@ In summary, CAPs provide void-safe protection for certain types of detachable ex
Possibly the characteristic of CAPs which is most important to developers is whether or not a particular CAP is supported by the compiler. In other words, from the developers viewpoint, the only opinion that matters in the argument of whether a particular pattern constitutes a CAP is that of the compiler.
If the compiler can provide assurance that a certain code pattern provides void-safe protection, then the developer has that pattern available as a CAP. Likewise, even if a pattern can be shown to be a CAP, but for some reason it is not supported by the compiler, then that pattern is not available as a CAP and the compiler will not allow its use.
If the compiler can provide assurance that a certain code pattern guarantees void-safe protection, then the developer will have that pattern available as a CAP. Likewise, even if a pattern can be shown logically to be a CAP, but for some reason it is not supported by the compiler, then that pattern will not available as a CAP and the compiler will not allow its use.