[cfe-commits] r48541 - /cfe/trunk/include/clang/Rewrite/Rewriter.h

Chris Lattner clattner at apple.com
Wed Mar 19 17:40:45 PDT 2008

On Mar 19, 2008, at 5:22 PM, Gabor Greif wrote:

> >> Thanks, but the problem is that c_str() is slow :), please switch
> >> to &S[0] (which is the thing that doesn't work if S is empty)
> wouldn't S.begin() serve better?
std::string::iterator isn't required to be const char*.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20080319/a85099dc/attachment.html>

More information about the cfe-commits mailing list