
7 Nov
2004
7 Nov
'04
11:54 p.m.
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