[Bug c++/57575] lvalue function accepted as an rvalue

2013-06-10 Thread anass.lasram at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57575 Anass Lasram changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/57575] New: lvalue function accepted as an rvalue

2013-06-09 Thread anass.lasram at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: anass.lasram at gmail dot com // the following code compiles but it should not float f() { return 0.f; } template void take_f(F&& f) {} int main() { // this is OK. reference collapsing take_f(f); // next line

[Bug c++/57565] New: variadic template and type inference failure

2013-06-07 Thread anass.lasram at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: anass.lasram at gmail dot com Created attachment 30279 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30279&action=edit sources, compiler details and command line #include #include // #define DISABLE_COMPIL