[Bug libstdc++/66338] std::forward_as_tuple() issue with single argument

2015-05-29 Thread ptomulik at meil dot pw.edu.pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66338 --- Comment #2 from Pawel Tomulik ptomulik at meil dot pw.edu.pl --- I found this to be related to std::tuple constructors, especially this one: templatetypename... _UElements, typename = typename

[Bug libstdc++/66338] New: std::forward_as_tuple() issue with single argument

2015-05-29 Thread ptomulik at meil dot pw.edu.pl
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ptomulik at meil dot pw.edu.pl Target Milestone: --- Created attachment 35652 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35652action=edit Minimal example Hi, this example fails to compile (it compiles

[Bug libstdc++/66338] std::forward_as_tuple() issue with single argument

2015-05-29 Thread ptomulik at meil dot pw.edu.pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66338 --- Comment #1 from Pawel Tomulik ptomulik at meil dot pw.edu.pl --- As a side note, the following variant also does not compile: int main

[Bug c++/65091] New: decltype(~arg) fails for template functions

2015-02-17 Thread ptomulik at meil dot pw.edu.pl
++ Assignee: unassigned at gcc dot gnu.org Reporter: ptomulik at meil dot pw.edu.pl Created attachment 34790 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34790action=edit ii file generated by -save-temps The following program does not compile with g++ (although it compiles