$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Beman Dawes (bdawes_at_[hidden])
Date: 2004-11-07 18:54:12
At 06:04 PM 11/7/2004, Eric Friedman wrote:
>Maxim,
>
>I am one of the Variant authors. 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? If so, is
>it undefined even if such a type is even only mentioned in a program
>without actually ever instantiating the template?
17.4.3.6 says it is undefined "if an incomplete type (3.9) is used as a
template argument when instantiating a template component."
--Beman