Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8459

Re: why ?= used in wide casting

$
0
0

Hi Vijay, the casting operator '?=' is possible, but not needed for widecasting. It's only necessary for narrowing casts. For widening casts, the simple '=' is totally sufficient. That's it.

 

You wonder why it is allowed then? Well, a lot of things are possible / allowed, but not necessary.

 

Regards, Rüdiger


Viewing all articles
Browse latest Browse all 8459

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>