On Sat, 26 Mar 2011 15:58:18 -0400, Andrei Alexandrescu <seewebsiteforem...@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.

Reply via email to