List of Phobos functions that allocate memory?

Dicebot public at dicebot.lv
Fri Feb 7 03:03:25 PST 2014


On Friday, 7 February 2014 at 03:14:45 UTC, Sean Kelly wrote:
>>
>> pure @safe void validate(S)(in S str) if (isSomeString!S);
>>
>> Throws:
>> UTFException if str is not well-formed.
>
> And somewhere in the world, darkness fell forever on a bright 
> and beautiful countryside.  The monsters poured forth and 
> devoured everything in sight, given strength by that 
> unbelievable abomination of a function design.

True words indeed!

To sum up this small thread : I am perfectly OK with exceptions 
not showing in -vgc if we also agree on cleaning up Phobos from 
control flow exceptions.


More information about the Digitalmars-d mailing list