Jump to content

Recommended Posts

Posted

Why i must use it instead of std::vector? Is for portablility? Optimisation?

Olso how to initialise this object with 0?

ACE_Vector<uint32, 7> MyVector;

Edit Has it's not mandatory to use ACE_Vector... So NVM.

Posted
Defines an STL-like vector container. This is an STL-like template vector container, a wrapper around ACE_Array. It provides at least the basic std::vector look and feel: push_back(), clear(), resize(), capacity(). This template class uses the copy semantic paradigm, though it is okay to use reference counted smart pointers (see ACE_Ptr<T>) with this template class.

http://www.riverace.com/ACE/ace55/html/ace/classACE__Vector.html#_details

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use