Cast Operator Overloading
Learn to add custom behavior to casting operations.
We'll cover the following...
Introduction
When trying to store an object of one type in a variable of another type, an implicit cast may take place. In other circumstances, we must cast an object explicitly:
...