Boost logo

Boost :

From: Emil Dotchevski (emil_at_[hidden])
Date: 2008-03-28 19:09:51


On Fri, Mar 28, 2008 at 3:21 PM, Stefan Seefeld <seefeld_at_[hidden]> wrote:
> Mathias Gaunard wrote:
> > If you want to compute something on a string at compile-time, you need a
> > compile-time string.
>
> Certainly. But I haven't seen any good example on *what* I may want to
> compute on a string at compile-time.

We're going way OT with this but a good example is when you want to
hard-code a hash value that is computed (at compile-time) from the
(compile-time) string.

-- 
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode

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