Abstract
We can automatically deduce the type of an object using the auto specifier. The auto specifier deduces the type of an object based on the object's initializer type.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Dmitrović, S. (2023). Automatic Type Deduction. In: Modern C++ for Absolute Beginners. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-9274-7_14
Download citation
DOI: https://doi.org/10.1007/978-1-4842-9274-7_14
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-9273-0
Online ISBN: 978-1-4842-9274-7
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)