Re: [Boost-bugs] [Boost C++ Libraries] #3270: Ambiguous conversion, even though no conversion exists

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3270: Ambiguous conversion, even though no conversion exists
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-18 15:53:39


#3270: Ambiguous conversion, even though no conversion exists
-------------------------------------------------+--------------------------
 Reporter: Olaf Lenz <lenzo@…> | Owner: dgregor
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: function
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
-------------------------------------------------+--------------------------

Comment(by steven_watanabe):

 Then the easiest solution is to add

 {{{
 void foreach(ConstComputer& c) {
     return(static_cast<const Set*>(this)->foreach(c));
 }
 }}}

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