This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/60710] experimental::optional<T> is using T::operator!=
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 27 Apr 2014 16:33:39 +0000
- Subject: [Bug libstdc++/60710] experimental::optional<T> is using T::operator!=
- Auto-submitted: auto-generated
- References: <bug-60710-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60710
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Sun Apr 27 16:33:06 2014
New Revision: 209841
URL: http://gcc.gnu.org/viewcvs?rev=209841&root=gcc&view=rev
Log:
2014-04-27 Lars Gullik BjÃnnes <larsbj@gullik.org>
PR libstdc++/60710
* include/experimental/optional (operator!=): Implement in terms of
operator==.
* testsuite/experimental/optional/relops/1.cc: Remove operator!=.
* testsuite/experimental/optional/relops/2.cc: Likewise.
* testsuite/experimental/optional/relops/3.cc: Likewise.
* testsuite/experimental/optional/relops/4.cc: Likewise.
* testsuite/experimental/optional/relops/5.cc: Likewise.
* testsuite/experimental/optional/relops/6.cc: Likewise.
Modified:
branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
branches/gcc-4_9-branch/libstdc++-v3/include/experimental/optional
branches/gcc-4_9-branch/libstdc++-v3/testsuite/experimental/optional/relops/1.cc
branches/gcc-4_9-branch/libstdc++-v3/testsuite/experimental/optional/relops/2.cc
branches/gcc-4_9-branch/libstdc++-v3/testsuite/experimental/optional/relops/3.cc
branches/gcc-4_9-branch/libstdc++-v3/testsuite/experimental/optional/relops/4.cc
branches/gcc-4_9-branch/libstdc++-v3/testsuite/experimental/optional/relops/5.cc
branches/gcc-4_9-branch/libstdc++-v3/testsuite/experimental/optional/relops/6.cc