I now see AutoImplement allows injection of an arbitrary implementation,
so it shouldn't be BlackHole.
Then I suggest aliasing BlackHole to a return-default AutoImplement
instantiation and aliasing WhiteHole to an instantiation that always throws.
Andrei
On 05/22/2010 08:47 AM, Andrei Alexandrescu wrote:
Could we please rename AutoImplement to BlackHole? Then we can define
WhiteHole to throw an exception out of any implementation.
Thanks,
Andrei
On 05/21/2010 07:10 PM, dsource.org wrote:
phobos commit, revision 1531
user: rsinfu
msg:
Added AutoImplement to std.typecons.
http://www.dsource.org/projects/phobos/changeset/1531
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos