From: Jean-Pierre Rosen <rosen@adalog.fr>
Subject: Re: Dynamically tagged expression required
Date: Fri, 09 Dec 2005 13:05:06 +0100
Date: 2005-12-09T13:05:06+01:00 [thread overview]
Message-ID: <itrbnd.of3.ln@hunter.axlog.fr> (raw)
In-Reply-To: <dnbhjf$1fa$1@sunnews.cern.ch>
Maciej Sobczak a �crit :
> "Assign values to them" is a problem here.
> As the subject of my original post says (and what compiler told me),
> "dynamically tagged expression required".
>
> What can I provide as a dynamically tagged expression?
>
Actually, the compiler message is technically correct, but rather unhelpful.
For the casual user, it is enough to say that in an assignment, the LHS
and the RHS must have the same type. In your case, the RHS is of type
Shape'Class, therefore the LHS must be of type Shape'Class (possibly
thanks to a conversion).
--
---------------------------------------------------------
J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr
next prev parent reply other threads:[~2005-12-09 12:05 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-08 13:50 Dynamically tagged expression required Maciej Sobczak
2005-12-08 14:46 ` Georg Bauhaus
2005-12-08 14:52 ` Dmitry A. Kazakov
2005-12-08 19:17 ` Martin Krischik
2005-12-09 9:09 ` Maciej Sobczak
2005-12-09 12:05 ` Jean-Pierre Rosen [this message]
2005-12-09 16:41 ` Robert A Duff
2005-12-09 20:18 ` Martin Krischik
2005-12-11 0:43 ` Matthew Heaney
2005-12-11 11:45 ` Martin Krischik
2005-12-11 14:24 ` Matthew Heaney
2005-12-11 15:18 ` Martin Krischik
2005-12-11 18:07 ` Matthew Heaney
2005-12-12 19:16 ` Martin Krischik
2005-12-13 20:43 ` Georg Bauhaus
2005-12-13 21:00 ` Georg Bauhaus
2005-12-09 20:41 ` Randy Brukardt
2005-12-09 20:16 ` Martin Krischik
2005-12-11 0:46 ` Matthew Heaney
2005-12-12 9:44 ` Maciej Sobczak
2005-12-12 19:13 ` Martin Krischik
2005-12-14 10:22 ` Maciej Sobczak
2005-12-15 20:10 ` Martin Krischik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox