[v3] Implement resolution of DR 630

Jason Merrill jason@redhat.com
Thu Jul 23 21:43:00 GMT 2009


On 07/22/2009 08:25 AM, Paolo Carlini wrote:
> -- Jason, while working on this issue, I noticed that:
>
>      valarray<int>  v1;
>      v1 = { };
>
> compiles just fine in -std=c++0x mode and, for the assignment, ends up
> being selected:
>
>      operator=(const Tp&)
>
> with Tp == 0.

That's odd, I'll take a look.  When you say 0, you mean it's a null 
reference?

Jason



More information about the Libstdc++ mailing list