|
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,
>T6>::value)
>
>doesn't work.
You just need to add parenthesis around the value:
BOOST_STATIC_CONSTANT(int, args = (count_used_args<T1, T2, T3, T4,
T5,T6>::value))
- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk