[phobos] phobos commit, revision 1531

Andrei Alexandrescu andrei at erdani.com
Sat May 22 06:51:41 PDT 2010


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
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list