Search code examples
c++rogue-wave

What is an alternative implementation for RWTPtrOrderedVector?


I'm trying to get rid of Rogue Wave dependencies. Is there a solid alternative implementation of RWTPtrOrderedVector? Would it just be std::vector?


Solution

  • Yes.

    Actually RWTPtrOrderedVectoris implemented on-top of std::vectorapparently :

    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

    I have no idea why they would create their own implementation though, so be careful, they might have added some functionality that you are using.