Abstract
In this chapter, we expand on the types that we discussed in the previous chapter and explain how variables of the basic types interact in more complicated situations. We also introduce some new features of C++ and discuss some of the ways that these are used.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The other advantages of the using syntax over the typedef syntax manifest themselves only when specifying aliases for more advanced types. Using using, for instance, it’s much easier to specify aliases for function types. You’ll see this in Chapter 19. The using keyword moreover allows you to specify so-called type alias templates, or parameterized type aliases, something that is not possible using the old typedef syntax. We’ll show you an example of an alias template in Chapter 19 as well.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Ivor Horton and Peter Van Weert
About this chapter
Cite this chapter
Horton, I., Van Weert, P. (2020). Working with Fundamental Data Types. In: Beginning C++20. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5884-2_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5884-2_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5883-5
Online ISBN: 978-1-4842-5884-2
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)