Boost logo

Boost :

From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2003-01-17 08:24:04


Fredrik Blomqvist wrote:
>
> Hi there,
>
> I thought I'd forward this little link:
> http://www.flipcode.com/cgi-bin/msg.cgi?showThread=Tip-CPPCompileTimeBinCons
> t&forum=totd&id=-1
> (several improved versions of the initial code appear in the thread)

Nice idea. If you add an operator long() to the class, you can even get
rid of the ::value

> This has most likely been done before but IMO a boostified version using MPL
> and PP could
> actually be a useful convenience utility.
> (since I also remember the discussions of a roman-number utility for example
> :)

Well, I cannot say whether or not we really need it, but who cares? ;)

Regards, Daniel

-- 
Daniel Frey
aixigo AG - financial training, research and technology
Schloß-Rahe-Straße 15, 52072 Aachen, Germany
fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99
eMail: daniel.frey_at_[hidden], web: http://www.aixigo.de

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk