RWTPtrOrderedVector 的替代实现是什么?

What is an alternative implementation for RWTPtrOrderedVector?

我正试图摆脱对 Rogue Wave 的依赖。 RWTPtrOrderedVector 是否有可靠的替代实现?会不会只是 std::vector?

是的。

实际上 RWTPtrOrderedVector 显然是在 std::vector 之上实现的:

Class vector is the C++-standard collection that serves as the underlying implementation for this class.

http://docs.roguewave.com/legacy-hpp/tlsref/rwtptrorderedvector.html

我不知道他们为什么要创建自己的实现,所以要小心,他们可能会添加一些您正在使用的功能。