![]() Replace "int n = str_.size();" with "int n = static_cast<int>(str_.size());". int is the correct type to use, because we're eventually calling "base::pbump(n+1);" where base is std::basic_streambuf. N4606 27.6.3.3.3 [streambuf.put.area]/4 declares: "void pbump(int n);" llvm-svn: 288751 |
||
---|---|---|
.. | ||
file.streams | ||
input.output.general | ||
iostream.format | ||
iostream.forward | ||
iostream.objects | ||
iostreams.base | ||
iostreams.requirements | ||
stream.buffers | ||
string.streams | ||
nothing_to_do.pass.cpp |