prepare array to be used as a buffer of capacity items
| 403 | |
| 404 | // prepare array to be used as a buffer of capacity items |
| 405 | T* getBuffer(const size_type capacityL, bool preserve = true) |
| 406 | { |
| 407 | ensureCapacity(capacityL, preserve); |
| 408 | count = capacityL; |
| 409 | return data; |
| 410 | } |
| 411 | |
| 412 | // prepare array to be used as a buffer of capacity bytes aligned on given alignment |
| 413 | T* getAlignedBuffer(const size_type capacityL, const size_type alignL) |
no outgoing calls
no test coverage detected