List of Phobos functions that allocate memory?
Walter Bright
newshound2 at digitalmars.com
Sat Feb 8 14:06:21 PST 2014
On 2/7/2014 10:54 AM, Sean Kelly wrote:
> But yeah, it's the allocations that are a problem in this case,
Code can always pre-allocate the exception that is thrown. There's no reason
whatsoever that allocation is required at the throw point, nor is there any
reason the thrown exception has to be newly allocated each time.
And, as such, this is entirely a coding issue, not a language or runtime one.
More information about the Digitalmars-d
mailing list