Re: [Boost-bugs] [Boost C++ Libraries] #10811: Add operators !=, <=, >, >=

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10811: Add operators !=, <=, >, >=
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-05 18:17:20


#10811: Add operators !=, <=, >, >=
-------------------------------+-----------------------
  Reporter: viboes | Owner: apolukhin
      Type: Feature Requests | Status: assigned
 Milestone: Boost 1.58.0 | Component: variant
   Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-----------------------

Comment (by viboes):

 std::experimental optional defines comparison between optional<T> and T so
 that it can be done more efficiently. What is wrong with this?

 I would prefer to have a good c++11 interface that don't have one at all.

 A std::less<variant<Args...>> specialization in function of
 std::less<Args>... is necessary in the cases where one of the Args don't
 defines operator <, but has the std::less specialization. I could create a
 new ticket for this, if you agree.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10811#comment:8>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC