c++/9278: dependent type in conversion operator bug

David Abrahams dave@boost-consulting.com
Mon Jan 13 05:17:00 GMT 2003


bangerth@dealii.org writes:

> Synopsis: dependent type in conversion operator bug
>
> State-Changed-From-To: open->analyzed
> State-Changed-By: bangerth
> State-Changed-When: Sun Jan 12 15:52:22 2003
> State-Changed-Why:
>     Confirmed. I have no clue what the standard says, but an
>     indication that gcc is actually wrong may be given by the
>     fact that the code actually compiles when struct voidify
>     is having its template removed.
>     
>     W.
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9278

Actually I think you should close this one.

  http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_closed.html#18

Confirms that it's not a bug.  It's probably a bug that it works when
you un-templatize voidify :(


-- 
                       David Abrahams
   dave@boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution



More information about the Gcc-bugs mailing list