erase duplicate elements keeping order

前端 未结 0 1373
庸人自扰
庸人自扰 2020-12-18 19:03

I would like to eliminate duplicate elements from a vector while keeping the vector in the current order.

Below I have a proposed implementation. First, is this safe

相关标签:
回答
  • 消灭零回复
提交回复
热议问题