[Bug libstdc++/53648] [C++11] nested empty tuples

2012-06-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53648 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug libstdc++/53648] [C++11] nested empty tuples

2012-06-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53648 --- Comment #5 from Jonathan Wakely 2012-06-14 22:07:37 UTC --- Author: redi Date: Thu Jun 14 22:07:33 2012 New Revision: 188636 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188636 Log: PR libstdc++/53648 * include/std/tuple (__

[Bug libstdc++/53648] [C++11] nested empty tuples

2012-06-12 Thread chesstr at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53648 --- Comment #4 from chesstr at hotmail dot com 2012-06-12 18:03:56 UTC --- (In reply to comment #3) > There are other cases involving non-empty tuples that will still result in an > ambiguity e.g. > > struct A { }; > auto d = tuple, A>, A>{}; > >

[Bug libstdc++/53648] [C++11] nested empty tuples

2012-06-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53648 --- Comment #3 from Jonathan Wakely 2012-06-12 17:27:50 UTC --- There are other cases involving non-empty tuples that will still result in an ambiguity e.g. struct A { }; auto d = tuple, A>, A>{}; My solution avoids using the EBO for some condi

[Bug libstdc++/53648] [C++11] nested empty tuples

2012-06-12 Thread chesstr at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53648 --- Comment #2 from chesstr at hotmail dot com 2012-06-12 17:13:33 UTC --- (In reply to comment #1) > I have a fix for this already, IIRC it's simply a case of not using the EBO > for > a tuple that contains std::tuple<> Yes, an easy fix in tuple