Re: [Boost-bugs] [Boost C++ Libraries] #11803: Fails with closed intervals fails in some border cases.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11803: Fails with closed intervals fails in some border cases.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-11-19 00:22:47


#11803: Fails with closed intervals fails in some border cases.
-------------------------------+-------------------------
  Reporter: shewitt.au@… | Owner: jofaber
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: ICL
   Version: Boost 1.59.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------+-------------------------

Comment (by anonymous):

 It's been mention in mailing list that "You can use icl interval
 containers with limited integral numeric domain-types safely on intervals
 using values from ++std::min<T>() to--std::max<T>()".

 If this is the case then even code such as this is illegal:

 {{{
 boost::interval_set<unsigned int> int(0, 10);
 }}}

 This seems unacceptable. And as mentioned above the code in
 ''right_subtract'' already guards against this.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11803#comment:3>
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:19 UTC