Re: [Boost-bugs] [Boost C++ Libraries] #4028: fusion::begin and fusion::end lead to problems with ADL-based begin and end functions for ranges

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4028: fusion::begin and fusion::end lead to problems with ADL-based begin and end functions for ranges
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-12-20 15:17:42


#4028: fusion::begin and fusion::end lead to problems with ADL-based begin and end
functions for ranges
---------------------------+------------------------------------------------
  Reporter: mgaunard | Owner: djowel
      Type: Bugs | Status: reopened
 Milestone: Boost 1.43.0 | Component: fusion
   Version: Boost 1.42.0 | Severity: Problem
Resolution: | Keywords: ADL range begin end
---------------------------+------------------------------------------------
Changes (by mgaunard):

  * status: closed => reopened
  * resolution: fixed =>

Comment:

 While a useful fix, note that still doesn't fix the underlying problem.

 Here is a testcase that still fails:
 {{{
 #include <boost/array.hpp>
 #include <boost/fusion/container/vector.hpp>
 #include <boost/fusion/sequence/intrinsic/end.hpp>
 #include <boost/fusion/adapted/array.hpp>
 #include <boost/range.hpp>

 int main()
 {
     boost::array<boost::fusion::vector<>, 42> foo;
     begin(foo); // ambiguous, boost::begin or boost::fusion::begin
 }
 }}}

 Therefore I suggest the bug be left open.

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