Re: [Boost-bugs] [Boost C++ Libraries] #4874: multi_array compile errors using Visual C++ 2010 in debug mode

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4874: multi_array compile errors using Visual C++ 2010 in debug mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-13 03:14:49


#4874: multi_array compile errors using Visual C++ 2010 in debug mode
-------------------------------+--------------------------------------------
  Reporter: chrislu | Owner: garcia
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: multi_array
   Version: Boost 1.47.0 | Severity: Showstopper
Resolution: | Keywords: multi_array, Visual Studio 2010, Visual C++ 2010
-------------------------------+--------------------------------------------

Comment (by istanbul.tr@…):

 Here is another workaround (and a probably more general fix):

 * Open `boost/multi_array/iterator.hpp`
 * Replace first occurrence of `boost::random_access_traversal_tag` (Line
 57 in version 1.47.0)
   with `std::random_access_iterator_tag`
 * Search second (line 75), replace that whole `typedef` with
 {{{
   typedef typename array_iterator::iterator_facade_ facade_type;
 }}}


 hth

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4874#comment:12>
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:07 UTC