|
|
Śro 23:43, 29 Gru 2010 |
|
Autor |
Wiadomość |
06nike7394ud
95%
Dołączył: 26 Paź 2010
Posty: 796
Przeczytał: 0 tematów
Ostrzeżeń: 0/5 Skąd: England
|
Temat postu: mbt shoes on sale Jitter-based storage management |
|
|
Based on the problem of storage management shake
Merrill Lynch. Computer operating system tutorial. Tsinghua University Press. 19935 Zou Peng. Wang Guangfang. Operating System. National Defense University Press, 1996.110 ~ 120 (continued from page 156) describes the type declaration in the inheritance. Assume that type E is derived from the type B by the type of public way. If the program is running in the E type throws an exception e, the exception may spread to an E type outside the scope of the definition of a function where, if there is indeed required to capture B types defined exception handler. So the processor can handle the exception e? This issue, no matter how unreasonable interpretation of all places. The type of inheritance according to the actual, e should be captured and processed here. But the actual type of relationship between the position of the processor is not visible. In addition, if the exception object is passed outside the scope of the definition of its type,[link widoczny dla zalogowanych], can also lead to the need to copy or destroy the object, you can not implement the copy constructor or destructor. A typical situation is unusual in its class definition is outside the scope of general-purpose processor to capture, and this class has defined a special destructor. Then the program will not call the function. Note that the exception propagation is completely determined by the dynamic process of treatment is impossible to compile a full examination of this issue. These tell us that the base exception class and derived class with the best definition. These classes should not have complex semantics. For example, has special semantics defined copy semantics and specific destructor and so on. 2.7 Implementation and cost of exception handling can be an exception as a non-local control transfer mechanism. However. General. Much higher than the cost of exception handling function calls in and out. Currently there are two basic exception handling implementations: dynamic and static table-chain approach. They have their own length. Dynamic-chain efficiency in the event of slightly abnormal, and can well support dynamic connections. However,[link widoczny dla zalogowanych], in this way. Program throws an exception if not running. Have to pay the additional cost. Static table methods of surveillance range of static tables. �� 74 * If the process sequence are not actually throw an exception. No need for the presence of exception handling mechanism to pay the additional cost. However, an exception occurs when querying this table multiple times, so efficiency is low. Another disadvantage of this approach is difficult to support dynamic connection. C + + exception mechanism is designed to provide the means to support a static form, mainly to its \C + + exception because the high cost of features,[link widoczny dla zalogowanych], therefore, it was recommended that only genuine exception handling mechanism is used to handle exceptions, and not to use it as a convenient means of non-local transfers. Of course, for those performance requirements are not high, and high reliability requirements of the program or program part, it is in the importance of the problem is greatly reduced. Summarized in this article on C + + language exception handling in-depth and detailed analysis, including some of the grammatical features of static and dynamic nature of the implementation issues and the impact they may. Through these analysis, we can see in the programming language. In particular, object-oriented language exception handling in general to the many issues involved. This analysis can also help users to understand the actual programming language,[link widoczny dla zalogowanych], how to use the language of this mechanism.
More articles related to topics:
[link widoczny dla zalogowanych]
abercrombie outlet Creation imidazolinone herbicid
tory burch shoes 18% of paddy field herbicide stra
Post został pochwalony 0 razy
|
|
|
|
|
|
|
|
|
|
|
|
|
Możesz pisać nowe tematy Możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach
|
|
|
|
|
|
|
fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|