Zusammenfassung
Dieses Kapitel umfasst einige Beispiele der Primzahlen- und astronomischen Zeit- und Datumsberechnung zur Übersetzungszeit. In diesen Beispielen werden nochmals einige Techniken des rekursiven Aufrufs von Klassentemplates dargestellt, sowie deren weitere Optimierung durch Verschachtelung von rekursiven Aufrufen. Die Beispiele sollen nur exemplarisch die allgemeine Herangehensweise in der Umsetzung einer Berechnung zur Übersetzungszeit beschreiben.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Literatur
Unruh, Erwin. 2013. Temple Metaprogrammierung. Online. http://www.erwin-unruh.de/meta.html. Zugegriffen am 05.04.2013.
Duffett-Smith Peter, and Zwart, Jonathan. 2011. Practical astronomy with you calculator or spreadsheet. Cambridge: Cambridge University Press. ISBN:978-0-521-14654-8.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2016 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Lemke, J. (2016). Weitere Beispiele der Metaprogrammierung. In: C++-Metaprogrammierung . Xpert.press. Springer Vieweg, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-48550-7_11
Download citation
DOI: https://doi.org/10.1007/978-3-662-48550-7_11
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)