]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/include/bits/stl_relops.h
libstdc++: Update documentation comments for namespace rel_ops
authorJonathan Wakely <jwakely@redhat.com>
Fri, 23 Jul 2021 10:03:23 +0000 (11:03 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 23 Jul 2021 10:22:10 +0000 (11:22 +0100)
commit5b965dc49a6a4293ce85bc3a24ca3f3855469e68
tree2ee121735ec7706dd4ecc889a5dc62c79d6bcd13
parent7f7364108f7441e6bd6f6f79a2d991e4e0f71b28
libstdc++: Update documentation comments for namespace rel_ops

The comments in <bits/stl_relops.h> describe problems that were solved
years ago (for GCC 3.1). The comparison operators in <iterator> are no
longer ambiguous with the rel_ops ones, so the linked mailing list
thread and FAQ entry aren't relevant now. The reference to std_utility.h
is also outdated as it's just called utility now, both in the source
tree and when installed.

The use of rel_ops is still frowned upon though, so replace the
discussion of ambiguities within libstdc++ headers with adminition about
using rel_ops in user code.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:

* include/bits/stl_relops.h: Update documentation comments.
libstdc++-v3/include/bits/stl_relops.h