|
Boost : |
From: Aleksey Gurtovoy (alexy_at_[hidden])
Date: 2001-04-09 16:14:06
Peter Dimov wrote:
> This shows an annoying problem with BOOST_STATIC_CONSTANT:
>
> BOOST_STATIC_CONSTANT(int, args = count_used_args<T1, T2, T3, T4, T5,
> T6>::value)
>
> doesn't work.
Yes, you have to wrap the expression that contains commas in parentheses:
BOOST_STATIC_CONSTANT(int, args = (count_used_args<T1, T2, T3, T4, T5,
T6>::value))
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk