
8 Nov
2004
8 Nov
'04
6:09 p.m.
On Mon, 08 Nov 2004 14:09:23 +0300, Maxim Yegorushkin <e-maxim@yandex.ru> wrote:
Peter Dimov wrote:
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 ...
You can find rationale for that here: http://www.cuj.com/documents/s=7986/cujcexp2002austern/
Parts of which are wrong, unfortunately. But it is still true that the standard forbids instantiating standard library components with incomplete types. --Matt