opCast()
Let’s learn about the opCast function that is used for type conversions.
We'll cover the following...
opCast
for type conversions
opCast
defines explicit type conversions. It can be overloaded separately for each target type. As you might remember from the earlier chapters, explicit type conversions are performed by the to
function and ...