Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. In computer science, const-correctness is the form of program correctness that deals with the proper declaration of objects as mutable or immutable. The term is mostly used in a C or C++ context, and takes its name from the const keyword in those languages. The idea of const-ness does not imply that the variable as it is stored in the computer's memory is unwriteable. Rather, const-ness is a compile-time construct that indicates what a programmer may do, not necessarily what they can do. In addition, a method can be declared as const. In this case, the 'this' pointer inside such a method is of const ThisClass const type rather than of This Class const type. This means that non-const methods for this object cannot be called from inside such a method, nor can member variables be modified, nor can non-const methods be called, if they are of class type. In C++, a member variable can be declared as mutable, indicating that this restriction does not apply to it. Mutable member variables can be used for caching and reference counting, where the logical meaning (state) of the object is unchanged, but the object is not physically constant since its bitwise representation may change.
Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.
Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. In computer science, const-correctness is the form of program correctness that deals with the proper declaration of objects as mutable or immutable. The term is mostly used in a C or C++ context, and takes its name from the const keyword in those languages. The idea of const-ness does not imply that the variable as it is stored in the computer's memory is unwriteable. Rather, const-ness is a compile-time construct that indicates what a programmer may do, not necessarily what they can do. In addition, a method can be declared as const. In this case, the 'this' pointer inside such a method is of const ThisClass const type rather than of This Class const type. This means that non-const methods for this object cannot be called from inside such a method, nor can member variables be modified, nor can non-const methods be called, if they are of class type. In C++, a member variable can be declared as mutable, indicating that this restriction does not apply to it. Mutable member variables can be used for caching and reference counting, where the logical meaning (state) of the object is unchanged, but the object is not physically constant since its bitwise representation may change.
„Über diesen Titel“ kann sich auf eine andere Ausgabe dieses Titels beziehen.
Anbieter: BuchWeltWeit Ludwig Meier e.K., Bergisch Gladbach, Deutschland
Taschenbuch. Zustand: Neu. This item is printed on demand - it takes 3-4 days longer - Neuware -Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. In computer science, const-correctness is the form of program correctness that deals with the proper declaration of objects as mutable or immutable. The term is mostly used in a C or C++ context, and takes its name from the const keyword in those languages. The idea of const-ness does not imply that the variable as it is stored in the computer's memory is unwriteable. Rather, const-ness is a compile-time construct that indicates what a programmer may do, not necessarily what they can do. In addition, a method can be declared as const. In this case, the 'this' pointer inside such a method is of const ThisClass const type rather than of This Class const type. This means that non-const methods for this object cannot be called from inside such a method, nor can member variables be modified, nor can non-const methods be called, if they are of class type. In C++, a member variable can be declared as mutable, indicating that this restriction does not apply to it. Mutable member variables can be used for caching and reference counting, where the logical meaning (state) of the object is unchanged, but the object is not physically constant since its bitwise representation may change. Englisch. Bestandsnummer des Verkäufers 9786130233921
Anzahl: 2 verfügbar
Anbieter: preigu, Osnabrück, Deutschland
Taschenbuch. Zustand: Neu. Const-correctness | Computer science, Immutable object, Computer, Computer data storage, Compile time, Method (computer science), Field (computer science), Cache, Reference counting, Single assignment | Frederic P. Miller (u. a.) | Taschenbuch | Englisch | 2026 | OmniScriptum | EAN 9786130233921 | Verantwortliche Person für die EU: preigu GmbH & Co. KG, Lengericher Landstr. 19, 49078 Osnabrück, mail[at]preigu[dot]de | Anbieter: preigu Print on Demand. Bestandsnummer des Verkäufers 101416302
Anzahl: 5 verfügbar