added Erase and EraseIf function to dali-vector 47/245247/2
authorSubhransu Mohanty <sub.mohanty@samsung.com>
Tue, 6 Oct 2020 02:17:07 +0000 (11:17 +0900)
committerSubhransu Mohanty <sub.mohanty@samsung.com>
Wed, 7 Oct 2020 10:04:40 +0000 (19:04 +0900)
commitccff369e3f6eff5ecb69bd7b9e095481d4476d84
treeb72f41aa83c4f08a35e4def4959e2f4b60c5539f
parentd3d984fe4e1cc093b0611c8285594da121f4ae74
added Erase and EraseIf function to dali-vector

These functions uses erase-remove idiom for efficient
removal of more than one item from vector.
The signature is same as the standard erase() and erase_if()
function added to c++20.

Change-Id: I2d6769cde5b6acfbb03447b6576491021ab14fe1
automated-tests/src/dali/utc-Dali-Vector.cpp
dali/public-api/common/dali-vector.h