
AMDG On 12/14/2010 6:49 AM, przemyslaw.sliwa@uk.bnpparibas.com wrote:
Could someone tell me why this code does not compile? Can it be modified in order to compile?
struct CcyCplEventKey { CurrencyCouple CcyCpl; EventType Event; }
typedef std::map
mapType; mapType ccyOut;
std::for_each(ccyOut.begin(), ccyOut.end(), (&*boost::lambda::_1)->*&CcyCplEventKey::Event);
boost::lambda::_1 gets replaced with an object of type
std::pair