• Advertisement
Sign in to follow this  

Why the erase&insert method in stdvector.h is commented?

This topic is 2906 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

in tests\test_feature\source\stdvector.h,I see the "void erase(int)" and "void insert(int, const ")+T_AS+"&)" is commented. Is that not avaliable by now? Can I just uncomment it?

Share this post


Link to post
Share on other sites
Advertisement
You should be able to just uncomment these.

The stdvector.h is not an official add-on, so the code in it has not been cleaned up. I believe the only reason these methods are commented is to make the vector interface more similar to the built-in array, though this isn't true anymore anyway as the built-in array has evolved quite a bit.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement