Can anyone please explain to me what's going on here?


import std.container;
import std.socket;
import std.typecons;

void main()
{
    /* Doesn't work
    alias Rec_type = Tuple!(Address, "x", int, "y", int, "z");
    RedBlackTree!Rec_type[] records;
    */

    // Works
    alias Rec_type = Tuple!(int, "y", int, "z");
    RedBlackTree!Rec_type[] records;
}


Why am I not allowed to put Address types in tuples?

Reply via email to