Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-04-10 06:49:08

>This shows an annoying problem with BOOST_STATIC_CONSTANT:
>BOOST_STATIC_CONSTANT(int, args = count_used_args<T1, T2, T3, T4, T5,
>doesn't work.

You just need to add parenthesis around the value:

BOOST_STATIC_CONSTANT(int, args = (count_used_args<T1, T2, T3, T4,

- John Maddock

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