[v3] Implement resolution of DR 630
Paolo Carlini
paolo.carlini@oracle.com
Wed Jul 22 12:25:00 GMT 2009
Hi,
tested x86_64-linux, committed to mainline.
-- 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. On the other hand, in C++03 mode, the snippet doesn't
compile at all. Could you please confirm the above is the expected
behavior? Thanks in advance!
Paolo.
////////////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_dr630
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20090722/f892f035/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_dr630
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20090722/f892f035/attachment-0001.ksh>
More information about the Libstdc++
mailing list