Ticket #3645 (closed Bugs: fixed)
iterator_facade does not work in presence of ::implicit_cast
|Reported by:||romanp@…||Owned by:||marshall|
|Keywords:||iterator_facade||Cc:||romanp@…, roman.perepelitsa@…, jyasskin@…|
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 22.214.171.124, 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).
- Owner set to dave
- Component changed from None to iterator