[phobos] Is this a bug?

Sean Kelly sean at invisibleduck.org
Fri Jun 18 20:51:48 PDT 2010


Found it.  I forgot you can't new a Tuple.  This breaks:

    import std.typecons;

    void main()
    {
        alias Tuple!(int) Wrap;
        auto p = new Wrap;
    }

I'll see about fixing Tuple instead of changing Variant.


More information about the phobos mailing list