Re: [Boost-bugs] [Boost C++ Libraries] #3076: [multi_index] assertion failure sorting an empty collection in VC10 Beta 1

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3076: [multi_index] assertion failure sorting an empty collection in VC10 Beta 1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-05-25 18:26:42


#3076: [multi_index] assertion failure sorting an empty collection in VC10 Beta 1
----------------------------------------------------------+-----------------
  Reporter: Richard Webb <richard.webb_at_[hidden]> | Owner: joaquin
      Type: Bugs | Status: closed
 Milestone: Boost 1.40.0 | Component: multi_index
   Version: Boost 1.38.0 | Severity: Problem
Resolution: fixed | Keywords:
----------------------------------------------------------+-----------------

Comment(by Richard Webb <richard.webb_at_[hidden]>):

 In VC9, the copy code does the check

         _DEBUG_RANGE(_First, _Last);
         if (_First != _Last)
                 _DEBUG_POINTER(_Dest);

 Wheras VC10 just does

         _DEBUG_RANGE(_First, _Last);
         _DEBUG_POINTER(_Dest);

 (Where _DEBUG_POINTER gives an error if _Dest is NULL).
 So VC9 only complains if Dest is null and theres something to do, but VC10
 gives you an error any time it's null.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3076#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:00 UTC