Skip to main content

Operator Overloading

  • Chapter
Softwareentwicklung in C++

Part of the book series: Xpert.press ((XPERT.PRESS))

  • 164 Accesses

Zusammenfassung

Bei den bisherigen Betrachtungen zu Klassen und Objekten haben wir bereits die verschiedenen Arten von Members, also Variablen und Methoden, kennen gelernt. Eines fehlt noch, um Klassen und Objekte zu einem Gesamtkonzept zu machen, nämlich Operatoren! Je nachdem, mit welchen Objekten man es zu tun hat, ist eine Verknüpfung derselben mittels Operatoren oft ein sehr logischer Zugang zu deren Konzept. Wenn man zwei Ganzzahlenwerte addieren kann, wieso sollte man das mit “höheren” Datentypen (z.B. Vektoren) nicht tun können?

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
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

© 2003 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Schmaranz, K. (2003). Operator Overloading. In: Softwareentwicklung in C++ . Xpert.press. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-55708-8_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-55708-8_12

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-62932-7

  • Online ISBN: 978-3-642-55708-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics