1 | initial version |
Use a std::set
. Push every point and duplicates are not kept.
2 | No.2 Revision |
Use a std::set
. Push every point and duplicates are not kept.
... but, yes, the order is not kept...
Maybe you can create the container that you need using Boost.Multiindex, see example