[lldb-dev] [PATCH] std::vector::data()

Sebastian Redl sebastian.redl at getdesigned.at
Tue Jul 20 14:43:50 PDT 2010


On Tue, 20 Jul 2010 16:32:39 -0500, William Lynch <wlynch at wlynch.cx>
wrote:
> Actually, I was thinking about this patch. There is probably going to be
> bad
> behavior when the vector is empty (and capacity is zero?). Please don't
> apply this unless data() also has that problem.

It doesn't, or at least shouldn't. That's pretty much the point of data().

Sebastian




More information about the lldb-dev mailing list