
On 3/30/07, Tom Lahoda <tlahoda@gmail.com> wrote:
It has been my experience that it causes an error as I think (not positive) that some syntax checking is done even if it will not get instantiated.
That's fine. I'm just thinking about test cases. Is the error standard compliant? Should I write tests for this case and excluded them for current compiler releases anticipating that at some point in the future they will accept this? Or is this mandated by the standard, and I should mention it in the documentation as a caveat?
On 3/30/07, Daniel Walker <daniel.j.walker@gmail.com> wrote:
On 3/30/07, Tom Lahoda <tlahoda@gmail.com> wrote:
Your foo struct only has one template argument
I know. My question is should that cause an error or a substitution failure, which is not an error.