Boost logo

Boost :

From: Greg Colvin (gcolvin_at_[hidden])
Date: 1999-08-31 12:56:13


From: Valentin Bonnard <Bonnard.V_at_[hidden]>

> What about:
>
> struct debug { static const bool mode = true; };
>
> in this case it is not a definition.

Very clever! It as least gives the compiler a chance to eliminate
code when mode == false.


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