Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10811: Add operators !=, <=, >, >=
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-04 17:54:50
#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):
Sorry I meant
{{{
template <typename U>
void operator>=(const U&) const
{
BOOST_STATIC_ASSERT( false && sizeof(U) );
}
}}}
Why have you added this assertion so that the
{{{
auto x = v < 1;
}}}
doesn't compiles and the you add another ticket to allow it?
Am I missing something?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10811#comment:6> 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