template constructor overload problems

Paolo Carlini pcarlini@suse.de
Wed Feb 20 12:15:00 GMT 2008


Peter Dimov wrote:
> You need to add
>
> template <typename UElements>
>    tuple (tuple<UElements>& foo)
>    { static_assert(!sizeof(UElements), "third constructor"); }
Many thanks to you and Pedro, of course. For now I committed to mainline
the below, which seems a net improvement to me... Tested x86_64-linux.

Paolo.

//////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_pedro
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080220/ceefb95b/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_pedro
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080220/ceefb95b/attachment-0001.ksh>


More information about the Libstdc++ mailing list