$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Matt Austern (austern_at_[hidden])
Date: 2004-11-08 13:09:06
On Mon, 08 Nov 2004 14:09:23 +0300, Maxim Yegorushkin <e-maxim_at_[hidden]> 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