Use typedef: template class agency { typedef reporter _myreporter; public: void report_all() { reporter::report(L"dummy"); // Compiles. Std::for_each(reports_.begin(), reports_.end(), this(const std::wstring& r) { // Take it agency::_myreporter::report(r); }); } }.
Ah! I had already tried typedefing, but missed the crucial agency - thanks! – Johann Gerell Jun 22 at 21:16.
This should compile OK as-is. It appears that your compiler has a bug in the name lookup rules in a lambda. You could try adding a typedef for reporter inside report_all.
Yes, VS 2010 has more of these in the C++0x context, for instance this one that I tripped over yesterday: stackoverflow. Com/q/6432658/6345 – Johann Gerell Jun 22 at 21:19.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.