member-templates : type conversion doesnt work

Mark Mitchell mmitchell@usa.net
Thu Jan 8 23:59:00 GMT 1998


>>>>> "Alexandre" == Alexandre Oliva <oliva@dcc.unicamp.br> writes:

    Alexandre> jeroen dobbelaere xe44 7682 writes:

    >> I think I have found a bug :

    Alexandre> Yes, you have.

    >> egcs-1.0 doesn't automagically instantiate the needed
    >> convertor.

    Alexandre> It seems like it doesn't consider the template
    Alexandre> conversion operator when it looks for user-defined
    Alexandre> conversions from A<int> to A<long>.

This is in my queue; probably sometime next week we'll have a fix.

    Alexandre> -- Alexandre Oliva mailto:oliva@dcc.unicamp.br
    Alexandre> mailto:aoliva@acm.org http://www.dcc.unicamp.br/~oliva
    Alexandre> Universidade Estadual de Campinas, SP, Brasil

-- 
Mark Mitchell		mmitchell@usa.net
Stanford University	http://www.stanford.edu




More information about the Gcc-bugs mailing list