Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2003-01-02 07:58:13


On Wed, 1 Jan 2003 16:57:20 -0800, "Jaap Suter"
<J.Suter_at_[hidden]> wrote:

>(Un)fortunately I just noticed another rule in that document:
>
>"Don't use local names as integral constant expressions"
>
>I'm doing that all over the place at the moment. I guess it's another
>motivation to use the MPL meta-functions instead.

For heaven's sake, please don't include the world just to say "hello"
to it.

PS:
<pedantic>
  a) there are no local names in the example; IMHO it would be better
  to reword the guideline b) it's not clear to me whether the problem
  occurs only if computed_value is "computed" or even if it is just
  an integer-literal. Which one?
</pedantic>

          - Happy new year to all the boosters -

Genny.


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