
3 Dec
2007
3 Dec
'07
9:45 p.m.
AMDG Alexander Nasonov <alnsn <at> yandex.ru> writes:
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.
You are correct, it wouldn't work if conditional_declare<...> is a dependent type. However, void* is sufficient so it should be okay. In Christ, Steven Watanabe