Abstract
One of the main design goals for C++ was to give the programmer the ability to define custom types that look and act nearly identically to the built-in types. The combination of classes and overloaded operators gives you that power. This Exploration takes a closer look at the type system and how your classes can best fit into the C++ world.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2009 Ray Lischner
About this chapter
Cite this chapter
(2009). Classes and types. In: Exploring C++. Apress. https://doi.org/10.1007/978-1-4302-0352-0_37
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0352-0_37
Publisher Name: Apress
Print ISBN: 978-1-59059-749-1
Online ISBN: 978-1-4302-0352-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books