According to 5.9 para 2 (second bullet) for pointers p...
authorPaolo Carlini <pcarlini@unitus.it>
Fri, 18 Apr 2003 13:55:22 +0000 (15:55 +0200)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 18 Apr 2003 13:55:22 +0000 (13:55 +0000)
commit0b176c1af26f5a4a7eb9fa4d69f5851e47fde26a
tree1db6b55db6c5212e9bc439cdef2fb282dbf03525
parentc553b7026a36d035a298064ea62e9035ba2b3edd
According to 5.9 para 2 (second bullet) for pointers p...

2003-04-18  Paolo Carlini  <pcarlini@unitus.it>

According to 5.9 para 2 (second bullet) for pointers p, q
pointing to the same type, with  p == 0 and q == 0, (p < q)
is false.
* include/bits/fstream.tcc (close, overflow, _M_really_overflow,
seekoff): Remove redundant NULL pointer checks from tests
involving _M_out_* and _M_in_*, const qualify bool variables.
(showmanyc, pbackfail, _M_convert_to_external, imbue): Const
qualify bool variables.
* include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
Remove redundant NULL pointer checks from tests involving
_M_out_* and _M_in_*, const qualify bool variables.
* include/std/std_fstream.h (sync): Likewise.
(_M_is_indeterminate): Const qualify bool variables.
* include/std/std_streambuf.h (sgetc, uflow): Remove redundant
NULL pointer checks from tests involving _M_out_* and _M_in_*,
const qualify bool variables.
(_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
variables.

From-SVN: r65783
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/fstream.tcc
libstdc++-v3/include/bits/streambuf.tcc
libstdc++-v3/include/std/std_fstream.h
libstdc++-v3/include/std/std_streambuf.h