Abstract
This chapter gets back into the language itself and covers how objects behave in C++/CLI. You’ll learn a bit more about value types and reference types, including some of the implications of having a unified type system. You’ll also see how to work with objects on the managed heap as though they were automatic variables, complete with the assurance that they will be cleaned up when they go out of scope. You’ll look at tracking references and object dereferencing and copying. You’ll also explore the various methods of passing parameters in C++/CLI and look at how to use C++/CLI types as return values.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
Rights and permissions
Copyright information
© 2006 Gordon Hogenson
About this chapter
Cite this chapter
(2006). Object Semantics in C++/CLI. In: C++/CLI. Apress. https://doi.org/10.1007/978-1-4302-0282-0_4
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0282-0_4
Publisher Name: Apress
Print ISBN: 978-1-59059-705-7
Online ISBN: 978-1-4302-0282-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books