Skip to main content

Object Semantics in C++/CLI

  • Chapter
C++/CLI
  • 1110 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 79.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

Rights and permissions

Reprints 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

Publish with us

Policies and ethics