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.

Reply via email to