--- On Mon, 4/13/09, Joe Buck <joe.b...@synopsys.com> wrote:
them all.
>
> Consider
>
> #include <iostream>
> struct Foo { int bar;};
> int main() {
> std::cerr << Foo();
> }
>
> Try it, the result is ugly, and I often encounter this one
(Personal opinion - not to be construed as wisdom).
The issue with the result is:
1: There is no end-of-line between candidates (or anywhere).
2: The candidate template is a large, untamed, and unruly beast.
3: The diagnostic message is not clear. I think it should say
that the compiler can't find something because of something.
4: Providing a full template for each candidate is (indeed)
something of an overkill.
And so in substance I agree, in detail there are some mitigating things that
can be done.
art