Segmentation fault on sort

Dfr deflexor at yandex.ru
Fri Jan 3 11:47:44 PST 2014


struct Color {
   string fg;
   string bg;
   string attrs;
   int slid;
}

auto tt = [Tuple!(uint, Color)(28, Color("0", "255", "", 0)), 
Tuple!(uint, Color)(28, Color("0", "255", "", 0))];
tt.sort;

This just dies on "tt.sort", any idea what is wrong ?


More information about the Digitalmars-d-learn mailing list