mclow.lists added inline comments. ================ Comment at: libcxx/include/sstream:580 return pos_type(-1); + ptrdiff_t __hm = __hm_ == nullptr ? 0 : __hm_ - __str_.data(); off_type __noff; ---------------- This can be const. https://reviews.llvm.org/D41319