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-12 18:09:07


#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 steven_watanabe):

 I'm afraid I don't understand why this should be considered a GCC bug.

 3.4.2 says:

 If T is a template-id, its associated namespaces and classes are the
 namespace in which the template is defined; for member templates, the
 member template’s class; '''the namespaces and classes associated with the
 types of the template arguments provided for template type parameters'''
 (excluding template template parameters); the namespaces in which any
 template template arguments are defined; and the classes in which any
 member templates used as template template arguments are defined. [Note:
 nontype template arguments do not contribute to the set of associated
 namespaces. ]

 (emphasis added)

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