Subject: [Boost-bugs] [Boost C++ Libraries] #3645: iterator_facade does not work in presence of ::implicit_cast
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-19 17:20:33
#3645: iterator_facade does not work in presence of ::implicit_cast
-------------------------------+--------------------------------------------
Reporter: romanp@⦠| Owner:
Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: None
Version: Boost 1.41.0 | Severity: Problem
Keywords: iterator_facade |
-------------------------------+--------------------------------------------
iterator_facade does not compile if there is a function template named
implicit_cast in global namespace and Value template argument of
iterator_facade is a type from global namespace.
Minimal test case is attached (minimal_boost.cc). I also reduced it to
something that does not use boost (minimal_no_boost.cc).
Reproducible with Comeau 4.3.0.1, gcc 4.4.0 and Clang, but *not* with gcc
4.3.1.
I'm also attaching a patch (one line -- qualify call to implicit_cast in
iterator_facade.hpp).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3645> 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:01 UTC