|
Boost : |
From: Guillaume Melquiond (guillaume.melquiond_at_[hidden])
Date: 2007-03-30 11:58:22
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk