3
Shouts

Operator Overloading with Implicit and Explicit Casts in C

posted by abhi2434abhi2434 1046 days, 22 hours, 47 minutes ago
Saturday, July 10, 2010 10:41:23 PM GMT

Its been a very common mistake of not declaring implicit and explicit cast operator overloads while working with data types which might take part in some calculations in long run. I found many of the developers don't know why we use checked or unchecked in case of OverflowExceptions. On this note, I thought to post a note in this article on how you can use Cast overloads to get your job done easily when you require your type to take part in arithmetic operations and casts to arithmetic data types.

L...

category: Architecture | clicked: 0 | | source: www.abhisheksur.com | show counter code

No comments yet, be the first one to post comment.

To post your comment please login or signup