|
Boost : |
From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2003-04-12 01:30:30
Aleksey Gurtovoy wrote:
> Below is an implementation that works on MSVC (and probably gcc and
> EDG).
> Can we add the primitive to the library?
>
> Aleksey
#define BOOST_PP_IS_SEQ BOOST_PP_IS_UNARY
BOOST_PP_IS_SEQ( (a)(b)(c) ) // 1
BOOST_PP_IS_SEQ( xyz ) // 0
BOOST_PP_IS_SEQ( ++ ) // 0
The second one with fail on Borland (and maybe IBM and Sun also), but otherwise
it should work fine.
BTW, how long is your list of things that you want? ;)
Paul Mensonides
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk