|
Boost : |
Subject: Re: [boost] Numeric constants
From: John Maddock (john_at_[hidden])
Date: 2009-01-30 12:47:42
> 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk