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: 2012-01-11 02:52:38
#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 garcia):
After looking into this some more, VC++ 2010 may be incorrect in its
implementation of copy. Due to some ambiguity in the C++ standard, it
appears that any iterator that satisfies input_iterator or less can be an
output_iterator without having an iterator_category that is convertible to
output_iterator_tag. It turns out that random_access_iterator_tag and
friends are not convertible to output_iterator_tag, and the standard
simply says that an iterator must have as its tag its most specific tag.
output_iterator_tag gets used in the standard for things like
back_insert_iterator, which are not even input_iterators. Observe that
the Boost Concept checking library does no iterator_category checking
whatsoever for the OutputIterator Concept.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4874#comment:17> 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:08 UTC