24 Feb
2013
24 Feb
'13
5:38 a.m.
Also: remove the ::type from the fold<> expression. Works for me after that (and the fix with adding the ::type on the definition of my_max). I would think you would've gotten a compiler error at this point but, meh.
Thank you for your advice. However with gcc 4.6.3, that cause compiler error.