Re: [boost] [mpl] has_template_xxx patch

Top Page

Reply to this message
Author: Guillaume Melquiond
Date:  
To: boost
Subject: Re: [boost] [mpl] has_template_xxx patch
Quoting Daniel Walker:
> OK, thanks for the help. I was trying to simplify my code to replicate
> the error I'm getting, and I may have gone to far. Can you tell me if
> the following contains a substitution?


> static const int size = sizeof(f<T>(0, 0));


At first sight, I would have said that it does. But on further reflexion, it
probably does not, as there is no deduction from the argument types.
But if you
use f((T*)0,0) instead, then it should work.

Best regards,

Guillaume

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost