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:49:02


#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: To Be Determined | Component: fusion
   Version: Boost 1.42.0 | Severity: Problem
Resolution: | Keywords: ADL range begin end
-------------------------------+--------------------------------------------

Comment (by anonymous):

 I don't think we can do anything about that problem without breaking
 changes in Fusion.

 Nevertheless the problem still exists in some cases, maybe it should be
 marked as partial wontfix ?

 Forcing users to qualify begin and end doesn't solve the problem, since
 the C++0x for-loop construct calls those functions unqualified and relies
 on ADL.
 The real solution, to me, would be for the standard to reconsider the use
 of begin/end through ADL, but it's now too late for that.

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