
Hello, 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<CurrencyEventKey, CurrencyEventPtr> mapType; mapType ccyOut; std::for_each(ccyOut.begin(), ccyOut.end(), (&*boost::lambda::_1)->*&CcyCplEventKey::Event); Cheers ___________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited. Please refer to http://www.bnpparibas.co.uk/en/information/legal_information.asp?Code=ECAS-8... for additional disclosures.