Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-07-21 11:24:57

Jonathan Wakely <cow_at_[hidden]> writes:

> On Wed, Jul 21, 2004 at 03:29:00PM +0100, Jonathan Wakely wrote:
>> > primary question: is it allowed to instantiate vector with incomplete type?
>> > If yes, it's a bug in g++, otherwise, it's a bug in program options.
> (and the reply)
> It would seem to be undefined behaviour, although I can't consult
>[2] right now.

It's definitely undefined behavior. You're not allowed to
instantiate any std templates with undefined types.

Dave Abrahams
Boost Consulting

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