RS-MET icon indicating copy to clipboard operation
RS-MET copied to clipboard

Where can I find your std::vector functions?

Open elanhickler opened this issue 7 years ago • 3 comments

I know you recently made some vector functions for easy search/add/remove/sort of items. I want to stop using juce::Array as well. Where can I find your vector functions?

elanhickler avatar Sep 29 '18 02:09 elanhickler

\rapt\Data\StandardContainerTools.h

...actually, they have been there all the time (with minor recent additions)

RobinSchmidt avatar Sep 29 '18 07:09 RobinSchmidt

you forgot to include appending vector to another vector

see: https://stackoverflow.com/questions/2551775/appending-a-vector-to-a-vector

elanhickler avatar Nov 18 '18 22:11 elanhickler

ok, i added another rsAppend for this. it was indeed a bit tricky to consider the special case when appending a vector to itself. this list of convenience functions is not supposed to be complete. i only add them on a need-to basis

RobinSchmidt avatar Nov 19 '18 05:11 RobinSchmidt