comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Allocators and the requirement to raise `Storage_Error`
Date: Fri, 03 May 2013 11:33:29 +0200
Date: 2013-05-03T11:33:29+02:00	[thread overview]
Message-ID: <op.wwh4t3j9ule2fv@cardamome> (raw)
In-Reply-To: op.wwh16wl5ule2fv@cardamome

Le Fri, 03 May 2013 10:36:22 +0200, Yannick Duchêne (Hibou57)  
<yannick_duchene@yahoo.fr> a écrit:
> I still wonder why there is no provision for an allocator to return  
> `null` instead of raising an exception, when a custom function of a  
> constrained subtype/type, […]

Read “constrained or not”, I was too much focused on my current use‑case;  
this do not need to be constrained.

-- 
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University


  reply	other threads:[~2013-05-03  9:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-03  5:35 Allocators and the requirement to raise `Storage_Error` Yannick Duchêne (Hibou57)
2013-05-03  7:31 ` egilhh
2013-05-03  8:36   ` Yannick Duchêne (Hibou57)
2013-05-03  9:33     ` Yannick Duchêne (Hibou57) [this message]
2013-05-03 23:17     ` Randy Brukardt
replies disabled

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