Boost logo

Boost :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2007-12-03 13:11:27


Steven Watanabe <steven <at> providere-consulting.com> writes:

> #define BOOST_LOCAL_FUNCTION_DECLARE_ARGS() \
> conditional_declare<sizeof(is_declared(local_function_bound_args)) == \
> sizeof(no)>::apply<0> local_function_bound_args

Does it work when a bound argument depends on a template parameter???

The syntax in this case is
*template* conditional_declare<...>::apply<0> local_function_bound_args;

which doesn't compile when *apply* is not a template.

--
Alexander

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk