lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Martin C. Martin wrote:

vector overloads [] so that (*mem)[0] equals storage[0], which is exactly what you want the address of.

And that's why I should keep my fingers off the keyboard when
the conversation turns around C++.

Thanks for clearing that up, and the real problem is probably
the realloc operation that copies data from the old to the resized
data area.

Cheers, Ralph