On Wed, Dec 12, 2012 at 9:07 AM, Denis Koroskin <2korden@gmail.com> wrote:
What's now is safer than what you propose. You can always create your own data type that would automatically truncate result if you wish so.

:-)

I should not have used the word "safe" there. All I meant was "safer" than C++ which allows implicit conversion form int to short and long to int.

Yes, I am now using my own User Type.

Regards
- Puneet