Skip to main content

Überladene Funktionsnamen

  • Chapter
Programmieren in C++

Part of the book series: Objekttechnologie ((OBJEKTTECH))

  • 1414 Accesses

Zusammenfassung

Bei der Ausführung gleichartiger Operationen auf unterschiedlichen Datentypen wird oft dasselbe Operatorsymbol benutzt, wie z.B. im Fall 3 + 7 oder 3.01 + 7.12 bei der Addition von zwei int- bzw. double-Operanden. Analog dazu kann man in C++ verschiedenen Funktionen, die vergleichbare Operationen mit unterschiedlichen Argumenttypen ausführen, denselben Namen geben. Dieses Überladen eines Funktionsnamens wird im folgenden Kapitel behandelt.

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

© 1998 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Schader, M., Kuhlins, S. (1998). Überladene Funktionsnamen. In: Programmieren in C++. Objekttechnologie. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-58762-7_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-58762-7_13

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-63776-9

  • Online ISBN: 978-3-642-58762-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics