Home | Libraries | People | FAQ | More |
BOOST_VMD_IS_BEGIN_TUPLE — Tests whether a parameter begins with a tuple.
// In header: <boost/vmd/is_begin_tuple.hpp>
BOOST_VMD_IS_BEGIN_TUPLE(...)
The macro checks to see if the parameter begins with a tuple.
.... = variadic param(s)
returns = 1 if the param begins with a tuple, 0 if it does not.
The macro works through variadic macro support.
The code is taken from a posting by Paul Mensonides.
This macro is not a test for only a tuple since the parameter may have other tokens following the tuple and it will still return 1.