[phobos] phobos commit, revision 1531

Shin Fujishiro rsinfu at gmail.com
Sat May 22 16:23:39 PDT 2010


Andrei Alexandrescu <andrei at erdani.com> wrote:
> 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.

Sure!  I just couldn't use the terms because I wanted to allow users to
inject arbitrary implementation.  I'll add BlackHole and WhiteHole soon.
Ah, I wonder why I couldn't think of alias!

Shin


More information about the phobos mailing list