Skip to main content
  • 149 Accesses

Abstract

One of the many features of C++ is its ability to extend itself by means of opera­tors. There are two kind of operators that can be defined by the user: infix operators and conversion operators (also called user-defined conversions, or UDC). This chapter will review how to define and use operators in C++ and then show how things work in the managed world.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.95
Price excludes VAT (USA)
  • Compact, lightweight 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.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Siva Challa and Artur Laksberg

About this chapter

Cite this chapter

Challa, S., Laksberg, A. (2002). Operators. In: Essential Guide to Managed Extensions for C++. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0834-1_10

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-0834-1_10

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-893115-28-6

  • Online ISBN: 978-1-4302-0834-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics