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-06-14 19:53:24


#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: new
Milestone: Boost 1.43.0 | Component: fusion
  Version: Boost 1.42.0 | Severity: Problem
 Keywords: ADL range begin end |
---------------------------------+------------------------------------------

Comment(by anonymous):

 I'm not familiar with specification details or whether there has been a
 defect report regarding this.
 All I can say is that, IF we're talking about the same issue, 2 compilers
 besides GCC don't associate namespaces of template arguments.
 and that I have reported this as a bug to GCC.
 reply to my report: fixed in 4.5, not a regression.

 here's a test case that triggers the bug (or non-bug) up to GCC 4.4:

 namespace mpl{
   class apply{};
   class vector{};
 }


 template<class T>
 void apply(T const &){}

 template<class T>
 class A{};

 int main(){
   A<mpl::vector> a;
   apply(a);
 }

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