Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-12-03 16:45:10


Alexander Nasonov <alnsn <at>> writes:

> Steven Watanabe <steven <at>> writes:
> > 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at