On Thu, Aug 15, 2013 at 5:53 PM, Jonathan Wakely <jwakely....@gmail.com> wrote: > Why not use __s.data() in all cases, instead of &*__s.begin()? That's > safe even for an empty vector.
Thanks, I didn't notice that vector's data() is mutable(since string's is not). Bootstrap Passed, and testsuites with -D_GLIBCXX_DEBUG, with or without -m32 passed. Could you please commit this patch for me? I lost my SSH private key :( Thanks! -- Tim Shen
a.patch
Description: Binary data