Boost logo

Boost :

From: Michael Goldshteyn (mgoldshteyn_at_[hidden])
Date: 2005-11-17 09:32:59


"Bruno Martínez" <br1_at_[hidden]> wrote in message
news:op.s0c8nu06551aze_at_yoda...
> On Wed, 16 Nov 2005 16:56:00 -0200, Michael Goldshteyn
> <mgoldshteyn_at_[hidden]> wrote:
> I think you can forward declare Action ate the top and define it later.
> You end up with vector<Action> in arguments. I know that using standard
> classes with incomplete types is not guaranteed to work, but I'm not sure
> if mentioning it as a parameter is a 'use'.
>
> Maybe this thread should be moved to c.l.c++.moderated.
>
> Bruno

You cannot forward declare a type used as a value for vector.

Mike


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk