bearophile Wrote: > - You can't use "auto" there, so if the type of e.x changes, you have to change the foo type manually (double.min is replaceable with typeof(e.x).min). This is a bad idea too. The code assumes the values are double. If this assumption is not true, the code is broken.