List of Phobos functions that allocate memory?
Dicebot
public at dicebot.lv
Sat Feb 8 10:22:46 PST 2014
On Saturday, 8 February 2014 at 16:50:53 UTC, Andrei Alexandrescu
wrote:
> The chaining method detects that and .dup's one of them.
>
> Andrei
After some thinking I don't think it actually helps - exception
will be modified _before_ throwing in library code so cloning
will be to late.
But I don't see any reason why basic exception instances in
Phobos can't be made immutable.
More information about the Digitalmars-d
mailing list