Hi,
First of all, thanks a lot for your effort since this library came in handy. Just wanted to mention that using set has a problem when we want to read and output the segments, lines, and other parts of the file in the same order. Using vector can easily prevent that since it has no comparator. We did it for our case.