generic + numeric + literals = abomination

so so at so.do
Sat Mar 27 06:50:47 PDT 2010


On Sat, 27 Mar 2010 12:20:38 +0200, so <so at so.do> wrote:

I haven't seen a single C++ library able to do this properly. (I would  
just copy it!)
This is one of the reasons why something like  
std::numeric_limits<type>::function() exists.
Which makes a generic and *clean* numeric code in C++ nonexistent.

Don! Please enlighten us! (especially me...) *begs*

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the Digitalmars-d-learn mailing list