Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-07-16 08:21:52

From: "Itay" <itay_maman_at_[hidden]>
> > - Is it possibile to autodetect when incomplete<> is needed? Since it
> > actually depends on things like header include order and such, it seems
> > me a hazard forcing the user to specify incomplete<>.
> >
> The compiler will refuse to compile the code, when a necessary
> is missing, so there's no real danger here. Anyway, I am not sure it is
> possible to implement an automatic mechanism for transforming T ->
> incomplete<T> if T is incomplete. (...But many times I do get surprised,
> when innovative solutions are offered to "non-solvable" problems)

Even if there were such a solution, you'd get ODR violations that way, since
the same T may be complete at one point and incomplete at another. AFAICS.

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