------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-17 
15:08 -------
Confirmed, reduced testcacse:
struct ff { ff(); int cmem(void) const; };
template <typename T>
int muv(T&, int (T::*)(void));
template <typename T>
int muv(T&, int (T::*)(void) const);
template <typename T>
int muv(const T&, int (T::*)(void) const);
int main()
{
    ff       f;
    const ff cf;
    muv(cf, &ff::cmem);
    muv(f,  &ff::cmem);
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-17 15:08:58
               date|                            |
            Summary|Regression: template        |[4.1 Regression] template
                   |argument deduction finds    |argument deduction finds
                   |false ambiguity             |false ambiguity
   Target Milestone|---                         |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21066

Reply via email to