From: Pascal Obry <pascal@obry.net>
To: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: Prohibiting dynamic allocation for the given type
Date: Wed, 19 Mar 2008 15:12:05 +0100
Date: 2008-03-19T15:12:08+01:00 [thread overview]
Message-ID: <47E11F35.5000900@obry.net> (raw)
In-Reply-To: <83335709-e099-416b-9967-5ab6aa0aea11@i12g2000prf.googlegroups.com>
Maciej Sobczak a �crit :
> Is it possible to "prohibit" dynamic allocation for the given type?
Just a quick idea... What about using a storage pool which raises a
program_error when using it. Then apply this storage pool to the type
where you want to forbid dynamic allocation. Shouldn't something like
this work?
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
next prev parent reply other threads:[~2008-03-19 14:12 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-18 21:30 Prohibiting dynamic allocation for the given type Maciej Sobczak
2008-03-19 3:06 ` gpriv
2008-03-19 8:24 ` Maciej Sobczak
2008-03-19 11:31 ` Georg Bauhaus
2008-03-19 13:13 ` gpriv
2008-03-19 13:54 ` Maciej Sobczak
2008-03-19 16:37 ` Eric Hughes
2008-03-20 0:48 ` Robert A Duff
2008-03-20 21:35 ` Eric Hughes
2008-03-19 22:17 ` Georg Bauhaus
2008-03-19 23:40 ` gpriv
2008-03-20 21:11 ` Maciej Sobczak
2008-03-19 14:38 ` Adam Beneschan
2008-03-19 15:43 ` gpriv
2008-03-19 14:12 ` Pascal Obry [this message]
2008-03-19 23:08 ` Randy Brukardt
2008-03-20 20:26 ` Simon Wright
2008-03-20 22:03 ` Eric Hughes
2008-03-21 1:04 ` Randy Brukardt
2008-03-20 0:43 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox