http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51927
--- Comment #3 from gccearlyadop...@trash-mail.com 2012-05-30 12:34:12 UTC ---
My local GCC says "4.7.0_3". :)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51927
--- Comment #1 from gccearlyadop...@trash-mail.com 2012-05-30 07:48:35 UTC ---
This Bug still exists in the latest GCC 4.7 release.
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: gccearlyadop...@trash-mail.com
GCC47 doesn't allow to access non-static members in non-static member
initialization. The following program fails to compile with the
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: gccearlyadop...@trash-mail.com
The following program fails to compile:
#include
#include
using std::cout;
using std::endl;
typedef std::function void_fun