Currently, the test suite is using a custom vector implementation provided in vector.h and vector.cpp. However, it's limited: for example, it doesn't have an erase function and it's hard-coded to use integer types for its elements. I believe that nxdk now offers a native std::vector implementation in nxdk-libcxx, as also evidenced by NevolutionX (an app built with nxdk) which is already using them here https://github.com/dracc/NevolutionX/blob/37b3a280cb5269168d1120dbfc370e0968ab3cb7/main.cpp#L33. To solve the above limitations, I suggest to switch to the std::vector implementation provided by nxdk.
Currently, the test suite is using a custom vector implementation provided in
vector.h
andvector.cpp
. However, it's limited: for example, it doesn't have an erase function and it's hard-coded to use integer types for its elements. I believe that nxdk now offers a nativestd::vector
implementation in nxdk-libcxx, as also evidenced by NevolutionX (an app built with nxdk) which is already using them here https://github.com/dracc/NevolutionX/blob/37b3a280cb5269168d1120dbfc370e0968ab3cb7/main.cpp#L33. To solve the above limitations, I suggest to switch to thestd::vector
implementation provided by nxdk.