Set!int set; assert(8 !in set); assert(set.insert(8) == 1); assert(set.length == 1); assert(8 in set); assert(set.insert(8) == 0); assert(set.length == 1); assert(8 in set); assert(set.remove(8)); assert(set.insert(8) == 1);
See Implementation