This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/60710] experimental::optional<T> is using T::operator!=


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]