[GSOC] Database API

Robert Jacques sandford at jhu.edu
Sat Mar 26 14:20:09 PDT 2011


On Sat, 26 Mar 2011 15:58:18 -0400, Andrei Alexandrescu  
<SeeWebsiteForEmail at erdani.org> wrote:

> On 3/26/11 2:11 PM, Piotr Szturmaj wrote:
>> I propose that, Nullable should be an alias (or subtype) of Algebraic,
>> for example:
>>
>> template Nullable(T)
>> {
>> alias Algebraic!(T, void*) Nullable;
>> }
>
> Should be Algebraic!(T, void). If that doesn't currently compile, we  
> should make it compile.
>
> Andrei

For what it's worth, both Algebraic!(T, void*) and Algebraic!(T, void)  
compile on my branch of std.variant.


More information about the Digitalmars-d mailing list