Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-11-07 19:15:07

Eric Friedman wrote:
> Could you clarify what you mean by
> standard templates "shall not be used with incomplete types"---does
> this mean for instance that std::vector<incomplete_t> is undefined?

Yes, and ...

> If so,
> is it undefined even if such a type is even only mentioned in a program
> without actually ever instantiating the template?

... no, but you need to be careful. Many things cause instantiation.

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