g++ template specialization matching problem

Nathan Sidwell nathan@codesourcery.com
Mon Jun 24 13:46:00 GMT 2002


Bill Beckett wrote:

> /* Here are two definitions which can be used used as a template       */
> /* parameters.  G is a specific structure.  F is a template for        */
> /* generating a set of structures.  In the case of F, it is            */
> /* significant that the type of the second template argument, f,       */
> /* depends on the first template argument, T.                          */
This is fixed in 3.1
nathan@uha:11>./a.out 
X: general case
X: special case

nathan
-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org



More information about the Gcc-bugs mailing list