Skip to main content

Sichere Schnittstellen (Interfaces)

  • Chapter
  • First Online:
C++-Metaprogrammierung

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

  • 4166 Accesses

Zusammenfassung

Das Design von templatebasierten Softwaresystemen setzt Schnittstellen voraus, die sicher zu verwenden und gut dokumentiert sind. Die Schnittstellen sollten sowohl hinsichtlich der Parameter, als auch der zu verwendeten Typen sicher sein. Bjarne Stroustrup beschreibt in [1] effiziente Ansätze zur Realisierung dieser Anforderungen, die in den folgenden Abschnitten weiter ausgebaut werden. Es werden Techniken vorgestellt, wie mit dem Einsatz von Templates und der Metaprogrammierung Schnittstellen zur Kompilationszeit geprüft und Fehler ausgegeben werden 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 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 59.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

Notes

  1. 1.

    Die Funktion _itoa ist zwar keine Standard C oder C++ Funktion, sie wird aber von vielen Compilern unterstützt.

Literatur

  1. Stroustrup, Bjarne. 2012. Software development for infrastructure. IEEE Computer Society 45(1): 47–58.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jürgen Lemke .

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Lemke, J. (2016). Sichere Schnittstellen (Interfaces). In: C++-Metaprogrammierung . Xpert.press. Springer Vieweg, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-48550-7_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-48550-7_5

  • Published:

  • Publisher Name: Springer Vieweg, Berlin, Heidelberg

  • Print ISBN: 978-3-662-48549-1

  • Online ISBN: 978-3-662-48550-7

  • eBook Packages: Computer Science and Engineering (German Language)

Publish with us

Policies and ethics