[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 --- I found this to be related to std::tuple constructors, especially this one: template...>::value>::type> explicit constexpr tuple(_UElements&&... __elements) : _Inherited(std::fo

[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 --- As a side note, the following variant also does not compile: int main() {

[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=35652&action=edit Minimal example Hi, this example fails to comp

[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=34790&action=edit ii file generated by -save-temps The following program does not compile with g++ (alth