comp.lang.ada
 help / color / mirror / Atom feed
From: "Grein, Christoph (Fa. ESG)" <Christoph.Grein@eurocopter.com>
To: comp.lang.ada@ada-france.org
Subject: AW: Limited_Controlled and constructor functions
Date: Thu, 18 Jan 2007 13:13:14 +0100
Date: 2007-01-18T13:20:02+01:00	[thread overview]
Message-ID: <mailman.28.1169122614.18371.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <eonfu7$71m$1@cernne03.cern.ch>

> Now, I want to make it limited as well by adding limited before
private 
> and changing Controlled to Limited_Controlled in two places.
> I get this when compiling the package:

> cannot return a local value by reference
> "Program_Error" will be raised at run time

I think the compiler is not yet full Ada 2005; this should work if I
have understood the RM correctly.




  reply	other threads:[~2007-01-18 12:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-18  9:51 Limited_Controlled and constructor functions Maciej Sobczak
2007-01-18 12:13 ` Grein, Christoph (Fa. ESG) [this message]
2007-01-18 16:41 ` Robert A Duff
2007-01-19  7:58   ` Maciej Sobczak
2007-01-19  9:41     ` Dmitry A. Kazakov
2007-01-19 13:45       ` Maciej Sobczak
2007-01-19 14:33         ` Dmitry A. Kazakov
2007-01-22  8:59           ` Maciej Sobczak
2007-01-20 17:09     ` Gautier
2007-01-20 19:39       ` Gautier
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox