← Back to team overview

cuneiform team mailing list archive

Type casts

 

Hi!

I wonder why things like static_cast<int>(double) are never used in the
code e.g. when a float value is converted to int? Is it because it's too
much work to refactor the old code so you force the compiler to hide the
warnings concerning this subject or there is some other reason? 
 
-- 
Sincerely yours,
Yury V. Zaytsev




Follow ups