Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-07-14 11:11:10

Matthias Troyer wrote:

> How would you do a BOOST_WORKAROUND in a template code where you might
> not know the value of the static constant? I think that any constant
> depending on a template parameter will still have to be treated like it
> is done now.

Sorry but I fail to understand what you are saying. Anyway what I
suggest is to use BOOST_WORKAROUND for implementing the enum-trick
wherever BOOST_STATIC_CONSTANT would use the enum-trick in case

Boost list run by bdawes at, gregod at, cpdaniel at, john at