
30 Jan
2009
30 Jan
'09
5:47 p.m.
Can I specialise all_constants<my_type> to cast from double without having to write out all of the constants individually?
Not at present - but it would be easy enough to add a traits class to allow for that - and I can certainly see the usefulness of that approach. John.