Chris Lattner wrote:
> Thanks, but this doesn't seem safe.  If the args_temp vector is
> reallocated, it will move all the std::string objects, invalidating the
> pointers.

Right, I wasn't thinking enough.  One solution would be to use
std::list instead.  But anyway, I only wanted to point out the
problem.  Fix it the way you think is best.

jlh
_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to